<?php /*
///-build_id: 2014052706.0227
/// This source file is subject to the Software License Agreement that is bundled with this 
/// package in the file license.txt, or you can get it here
/// http://addons-modules.com/store/en/content/3-terms-and-conditions-of-use
///
/// @copyright  2009-2012 Addons-Modules.com
///
*/
${"\x47\x4cO\x42\x41\x4cS"}["v\x68nu\x72r\x6e"]="at\x74achment\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["yk\x76\x70sc\x73\x6c\x74\x68\x6b"]="i\x64";${"\x47\x4cO\x42\x41\x4cS"}["\x77k\x64kc\x7a\x65\x6dq\x73\x6c"]="\x72\x65\x73";${"\x47\x4c\x4fBAL\x53"}["\x62\x77\x73i\x75\x70lw\x72"]="ma\x78\x5fpo\x73t";${"G\x4c\x4f\x42\x41L\x53"}["\x62a\x6ad\x65\x78a\x69\x78"]="\x75\x6e\x69\x71\x69\x64";${"GL\x4f\x42\x41\x4cS"}["\x6a\x6ap\x75hj\x63p\x61"]="\x69\x73\x5f\x61\x74\x74\x61\x63\x68\x6de\x6e\x74\x5fn\x61m\x65\x5f\x76\x61\x6c\x69d";${"\x47\x4c\x4fBALS"}["\x77\x63\x6co\x6a\x6as\x6e\x74"]="at\x74a\x63\x68\x6d\x65\x6et_\x6e\x61m\x65\x5f\x6c\x61\x6eg";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x66nj\x72\x64\x67s\x69"]="\x74a\x78R\x61t\x65";${"GLOB\x41\x4c\x53"}["\x6d\x6b\x78\x70\x75l\x79\x79k\x6d"]="\x70\x72o\x64\x75\x63\x74\x50\x72\x69c\x65";${"\x47L\x4f\x42\x41\x4c\x53"}["\x77\x66\x6c\x68\x71\x77\x73\x74\x6a"]="\x73\x70\x65\x63if\x69\x63\x5f\x70\x72\x69\x63e";${"\x47\x4c\x4f\x42\x41L\x53"}["\x62j\x6f\x63w\x77\x6cdhb"]="f\x69e\x6cd";${"\x47\x4cO\x42\x41\x4c\x53"}["ppz\x6cj\x62"]="\x69\x64\x5fl\x61ng";${"\x47L\x4fB\x41L\x53"}["s\x64\x6f\x6d\x79\x78f\x63a\x75\x66\x75"]="\x69s\x5f\x61\x63t\x69\x76\x61t\x65\x64";${"\x47LO\x42A\x4c\x53"}["dr\x68\x65\x69\x69\x78"]="\x66\x65\x61t\x75r\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x69\x6b\x6a\x68\x64k\x6b"]="id\x5f\x76\x61\x6cu\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76\x78pg\x73\x73\x77"]="\x6d\x61\x74\x63\x68";${"\x47\x4c\x4fB\x41\x4cS"}["\x66u\x68\x74yv"]="\x6b\x65y";${"\x47L\x4f\x42A\x4cS"}["\x77l\x6e\x67\x6e\x72"]="\x76\x61l";${"G\x4c\x4fB\x41\x4cS"}["\x68k\x71\x7a\x70g\x71"]="\x61va\x69\x6c\x61\x62\x6ce_\x64\x61\x74\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x65\x66\x77c\x6ez\x6ax\x71"]="\x69d\x5f\x69\x6d\x61ge\x73";${"G\x4c\x4fB\x41\x4cS"}["\x7a\x6a\x6e\x70\x6bj\x71"]="\x69\x73\x6f\x5ft\x69\x6e\x79\x5f\x6d\x63e";${"\x47LO\x42\x41\x4cS"}["\x71\x75\x76\x68\x69\x73l\x72\x6dl\x62\x6f"]="\x61t\x74\x61\x63h\x6d\x65n\x74\x5f\x64\x65\x73\x63\x72\x69p\x74\x69\x6f\x6e";${"\x47LO\x42\x41L\x53"}["\x69\x75x\x7ae\x76\x67i\x64\x65"]="\x6c\x61\x6eg\x75\x61\x67e";${"\x47\x4c\x4f\x42AL\x53"}["\x70\x76\x73\x63\x73t\x72"]="\x61tta\x63\x68\x6d\x65n\x74\x5f\x6e\x61\x6de";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62bee\x73\x75\x69\x62\x64sm\x6b"]="c\x61\x72\x72i\x65r\x73";${"G\x4c\x4f\x42\x41\x4cS"}["\x62\x6bj\x65\x70\x62\x63\x63\x65"]="c\x61r\x72\x69\x65\x72";${"\x47\x4cO\x42\x41\x4c\x53"}["ms\x73\x78z\x69dw"]="\x63\x61\x72rie\x72_s\x65\x6c\x65\x63\x74\x65\x64\x5fl\x69\x73\x74";${"\x47\x4c\x4f\x42A\x4cS"}["u\x69\x72\x68\x67\x6c\x68mpx"]="\x63\x61\x72\x72\x69e\x72\x5fl\x69\x73\x74";${"G\x4cO\x42\x41\x4c\x53"}["w\x62j\x76qm\x6d\x79\x65\x69t"]="\x75\x70l\x6fad\x5f\x6da\x78\x5f\x66\x69les\x69\x7a\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79i\x63whsn\x72\x74j\x6f"]="\x6d\x73\x67";${"\x47L\x4f\x42\x41L\x53"}["\x77s\x75\x73\x64\x62\x73\x74"]="\x6c\x69\x73\x74";${"\x47\x4cO\x42\x41\x4cS"}["\x74xy\x64\x73pq"]="\x70\x72\x6f\x64u\x63\x74\x5fa\x74\x74\x72\x69b\x75\x74e";${"\x47L\x4f\x42\x41\x4c\x53"}["ea\x67\x7av\x73h\x75\x79\x69\x61"]="i\x64\x5fp\x72\x6fd\x75ct\x5f\x61tt\x72ib\x75\x74\x65";${"\x47L\x4fBA\x4cS"}["n\x66l\x77h\x67\x6f\x66\x76"]="\x63\x6f\x6db_\x61\x72r\x61\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x79\x75hpa\x7a\x62u\x6f"]="c\x6fl\x6f\x72\x5f\x62y\x5f\x64\x65\x66\x61\x75\x6ct";${"\x47L\x4f\x42\x41L\x53"}["\x64rlf\x75\x64b\x65\x6d\x77\x7a"]="\x63\x6f\x6db\x69\x6e\x61t\x69on_im\x61\x67e";${"GL\x4f\x42\x41L\x53"}["\x7a\x71\x67i\x6f\x6fc\x65\x63"]="\x63\x6fm\x62i\x6e\x61\x74\x69\x6f\x6e_\x69\x6da\x67\x65\x73";${"\x47\x4c\x4fBA\x4c\x53"}["\x6e\x62\x6by\x62w"]="\x63\x6f\x6e\x74e\x6e\x74";${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x6f\x74\x62r\x65e\x66\x77\x6e"]="\x61\x6cl\x43o\x6d\x62i\x6ea\x74\x69\x6f\x6eIm\x61\x67e\x73";${"G\x4c\x4fBA\x4cS"}["\x77\x76\x71\x70\x6c\x70\x70"]="\x69\x6d\x61\x67e\x5f\x74ype";${"\x47\x4c\x4f\x42A\x4cS"}["\x79g\x73kv\x72s"]="\x69";${"\x47\x4c\x4f\x42\x41L\x53"}["g\x72\x6byo\x79dl"]="r\x65\x61\x73\x6f\x6es";${"G\x4cOBA\x4c\x53"}["\x75\x63t\x6fo\x6a\x70"]="\x63ur\x72\x65n\x63\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74d\x71j\x7a\x73\x77\x72\x77\x73"]="\x61t\x74r\x69\x62ute\x5f\x6a\x73";${"\x47\x4c\x4f\x42ALS"}["g\x6b\x6de\x78\x70\x6au"]="\x70ro\x64\x75\x63\x74";${"GL\x4f\x42\x41LS"}["op\x67o\x6ai\x69\x6b"]="\x63\x61t\x65\x67\x6f\x72\x79\x5f\x74re\x65";${"\x47\x4cOB\x41\x4c\x53"}["\x75\x64\x78\x6b\x77\x6f\x6cb\x6c\x6d\x6b"]="\x74\x61\x62\x5f\x72oot";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cpse\x68\x74rt\x74p\x71"]="ac\x63\x65\x73\x73o\x72\x79";${"GLO\x42\x41LS"}["\x74\x75z\x6aa\x61\x7a\x6c\x76"]="acce\x73\x73o\x72\x79_\x69\x64";${"\x47\x4c\x4fB\x41\x4cS"}["\x62\x75c\x70\x68\x61\x6c\x73\x75\x77"]="\x70\x6fst\x5fac\x63\x65\x73\x73o\x72\x69\x65s\x5f\x74\x61b";${"G\x4c\x4f\x42A\x4c\x53"}["np\x6dc\x6f\x6ec"]="\x68e\x6c\x70\x65\x72";${"GL\x4fB\x41LS"}["\x61nyq\x7a\x74\x6dg"]="\x73\x65l\x65\x63te\x64\x5fc\x61\x74";${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x72r\x68\x74\x68\x76p"]="d\x65\x66\x61\x75\x6c\x74_\x63a\x74\x65\x67or\x79";${"\x47\x4c\x4f\x42\x41LS"}["\x62lj\x6e\x7ak\x75\x67qp\x6e\x6e"]="co\x75n\x74\x5f\x69\x6d\x61g\x65\x73";${"\x47\x4c\x4f\x42AL\x53"}["m\x63stp\x74\x67\x70"]="\x69\x6d\x61g\x65";${"G\x4c\x4f\x42\x41L\x53"}["m\x66sx\x65n\x64\x78\x63\x6f"]="\x69\x6d\x61ges";${"\x47\x4cO\x42AL\x53"}["\x67bhj\x76\x73\x68c\x78\x62\x73\x62"]="\x61\x76a\x69l\x61\x62l\x65\x5f\x66\x65\x61\x74u\x72\x65";${"GL\x4f\x42\x41\x4cS"}["\x65\x72\x73\x67\x6e\x72"]="a\x76a\x69\x6c\x61\x62l\x65\x5ff\x65\x61\x74ur\x65\x73\x5fa\x6c\x6c";${"G\x4cO\x42\x41\x4c\x53"}["\x74d\x6dk\x6e\x67\x6ek\x6b\x75\x78"]="t\x61\x62\x5f\x70\x72\x6fd\x75c\x74\x73";${"\x47LO\x42AL\x53"}["\x69g\x6f\x79s\x73cxit"]="\x63us\x74\x6fm";${"\x47L\x4f\x42\x41LS"}["f\x77\x65\x68\x76\x77r\x63\x66\x64\x62"]="\x74ab\x5f\x66ea\x74\x75re\x73";${"G\x4cOB\x41\x4cS"}["\x68\x6c\x6a\x70\x63\x6e\x74\x73\x75\x61\x66\x6e"]="k";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x79p\x67\x68\x63\x69\x6f\x64\x68\x61o"]="\x66e\x61\x74\x75\x72\x65\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["sy\x64t\x73\x63\x7a\x74\x65o\x63"]="\x48OO\x4b\x5fP\x52\x4f\x44Y\x43T_\x4c\x49\x53\x54_\x4fPT\x49O\x4e\x53";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x67\x62\x79l\x74\x77p\x67\x6cv"]="\x69so\x54\x69n\x79\x4d\x43E";${"\x47\x4cO\x42A\x4cS"}["t\x6c\x6ao\x71\x63o\x76\x75"]="\x61\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x69s\x63\x62x"]="ca\x74\x65\x67\x6f\x72i\x65\x73";${"\x47\x4c\x4fB\x41L\x53"}["\x6a\x73\x6d\x62\x74k\x71\x78"]="\x63\x61\x74\x65r\x6f\x77s";${"G\x4c\x4f\x42\x41L\x53"}["\x74\x63\x67e\x64\x64\x72"]="spe\x63\x69\x61lci\x64\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x66t\x75\x6b\x78\x71\x75g\x69"]="\x69s_lis\x74_\x6c\x69m\x69t\x65\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x68\x67\x6d\x76a\x71\x6d\x66"]="\x75\x6e\x69\x74\x69\x65s";${"\x47\x4cO\x42AL\x53"}["\x65\x6el\x6e\x75lt"]="\x6c\x61n\x67";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x78\x64t\x64\x67"]="c\x6f\x6dbina\x74\x69\x6fn";${"G\x4c\x4f\x42\x41\x4cS"}["t\x6a\x77t\x67\x6e\x65\x63x"]="c\x6f\x6d\x62in\x61\x74\x69\x6f\x6e\x73";${"G\x4cO\x42AL\x53"}["\x71z\x63l\x78\x68\x70\x68o\x6c\x6fr"]="\x63\x75r\x72e\x6e\x63\x69\x65\x73";${"\x47\x4c\x4fB\x41L\x53"}["i\x78we\x76\x66\x77y"]="\x67\x72\x6f\x75\x70\x73";${"\x47L\x4fB\x41L\x53"}["\x71\x6cn\x67\x74f\x6dm\x78\x6fe"]="c\x6f\x75\x6et\x72\x69\x65\x73";${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x61\x6cmt\x74"]="\x76\x61\x6cue";${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x62cz\x73\x64\x66"]="\x70a\x63\x6b_\x69\x64\x5f\x70\x72\x6f\x64\x75ct\x5f\x61t\x74ri\x62ut\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x6de\x77\x78\x6a\x73\x74\x68"]="\x69\x74\x65m";${"G\x4c\x4f\x42A\x4cS"}["\x6b\x66j\x62\x69\x73\x6a\x6d\x74"]="\x70\x61\x63k\x5f\x71\x75\x61n\x74\x69\x74ie\x73";${"\x47L\x4f\x42ALS"}["\x77\x65e\x63\x73\x6beq\x6c"]="\x77\x61\x72\x65\x68\x6fus\x65\x73";${"\x47\x4c\x4fBAL\x53"}["\x6azb\x75yh"]="\x70\x5f\x61t\x74r\x69\x62u\x74e";${"G\x4c\x4f\x42ALS"}["\x6f\x70\x6d\x6cf\x71\x6c\x75"]="\x77\x73";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x66\x77\x77w\x66\x63ruc"]="p\x5f\x61\x74t\x72\x69\x62\x75te\x73";${"\x47\x4cO\x42A\x4cS"}["v\x70\x76zhgoz"]="\x61\x64van\x63e\x64_\x73\x74\x6fck\x5fm\x61n\x61g\x65\x6d\x65nt\x5fw\x61\x72\x6e\x69\x6eg";${"G\x4cO\x42A\x4cS"}["wn\x6awt\x6bxp"]="\x73h\x6f\x70\x5f\x63on\x74\x65\x78\x74";${"G\x4c\x4f\x42\x41L\x53"}["wt\x65\x70\x69\x79\x6b\x79\x6a"]="\x73\x68\x6fw\x5f\x71\x75\x61\x6e\x74\x69t\x69\x65s";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bx\x71\x69a\x69\x73uu\x74\x6c"]="\x61\x76\x61\x69\x6c\x61\x62\x6c\x65_\x71ua\x6e\x74i\x74\x79";${"G\x4cO\x42\x41\x4cS"}["\x73\x6crg\x6bon\x6dqk"]="at\x74\x72\x69\x62u\x74\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x6d\x66\x68\x61bb\x77\x71"]="\x61\x74t\x72i\x62u\x74\x65\x73";${"G\x4c\x4f\x42A\x4c\x53"}["d\x7a\x6a\x71\x68\x79"]="\x61s\x6c\x6f\x5fm\x6f\x64\x75\x6ce";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66o\x65\x71\x70\x67r"]="\x70ay\x5fo\x70\x74io\x6e\x73_\x6c\x69n\x6b";${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x63dk\x6bem"]="id\x5f\x63\x75\x72\x72\x65\x6e\x74u\x73\x65\x72\x5f\x6c\x69\x6ek\x65\x64\x73\x65l\x6c\x65r";${"\x47L\x4f\x42\x41\x4cS"}["g\x78f\x6eu\x77\x75"]="\x6a\x73o\x6e\x5fs\x68\x6fp\x73";${"\x47LO\x42\x41\x4c\x53"}["\x71s\x70f\x72\x6e\x67\x78\x74h"]="s\x68o\x70\x73";${"GL\x4f\x42A\x4c\x53"}["n\x6dj\x69s\x78\x66b\x75\x75\x6e"]="\x72\x65\x73\x75\x6ct";${"\x47\x4c\x4f\x42A\x4c\x53"}["r\x70\x72s\x70\x74\x71\x64v\x70"]="\x61\x6c\x6c\x6f\x77e\x64E\x78te\x6es\x69on\x73";${"G\x4c\x4f\x42\x41L\x53"}["b\x61\x61\x63y\x6a"]="\x6ci\x6d\x69\x74";${"GLO\x42AL\x53"}["f\x79\x77\x77\x75\x64\x68ez\x77"]="i\x64\x5f\x64\x65\x66\x61u\x6ct\x5f\x6ca\x6eg";${"\x47\x4c\x4fB\x41\x4c\x53"}["qpks\x66d\x63\x77v\x6f\x77"]="a\x63c\x65\x73\x73o\x72\x69\x65\x73\x5fid";${"GL\x4f\x42\x41LS"}["\x72\x6eha\x62\x6dxfy"]="\x61c\x63\x65\x73s\x6fri\x65\x73";${"G\x4c\x4fBALS"}["\x64\x66\x72\x67\x75mc\x68"]="p\x72i\x6fr\x69\x74\x69\x65\x73";${"\x47\x4cO\x42\x41\x4c\x53"}["\x77v\x70\x62fd\x6conl\x71\x76"]="\x69\x64\x5fc\x75\x73\x74\x6fm\x65\x72";${"GL\x4f\x42\x41LS"}["t\x65\x64nb\x62\x6cne\x6c\x75\x75"]="i\x64\x5f\x67ro\x75\x70";${"\x47LOB\x41\x4c\x53"}["a\x65\x77\x64\x62\x69\x65\x65"]="\x69\x64\x5f\x73h\x6f\x70";${"\x47L\x4fB\x41\x4c\x53"}["\x6ff\x64\x6d\x75\x71\x68\x6e\x6f\x67\x72"]="r\x65du\x63\x74\x69\x6f\x6e_\x74\x79\x70\x65";${"\x47\x4cO\x42\x41\x4cS"}["n\x68\x61\x64\x67\x77\x7a"]="\x66\x72\x6fm\x5f\x71\x75an\x74i\x74y";${"GL\x4fBA\x4c\x53"}["\x67\x61\x6ae\x69\x70\x6f\x69\x75\x6bg"]="\x74\x6f";${"\x47\x4c\x4fB\x41\x4c\x53"}["l\x72\x6bb\x66hl"]="\x66\x72\x6f\x6d";${"G\x4cOB\x41\x4c\x53"}["c\x6bn\x75\x67\x6d\x62"]="\x72\x65d\x75c\x74\x69\x6f\x6e";${"\x47\x4c\x4f\x42\x41LS"}["\x74\x69e\x69b\x62\x76\x6fz\x65\x6ey"]="p\x72\x69\x63e";${"G\x4c\x4f\x42ALS"}["\x6am\x75p\x68\x71or\x75\x6fo"]="\x69d_\x63o\x75\x6etr\x79";${"G\x4cOB\x41LS"}["\x6el\x76\x6b\x72\x66"]="i\x64\x5f\x63\x75\x72\x72\x65n\x63\x79";${"\x47LOBA\x4cS"}["d\x75\x73\x6b\x73l\x79wo\x75"]="\x69\x64_p\x72o\x64\x75ct";${"GL\x4f\x42AL\x53"}["n\x73\x69\x77r\x69\x74"]="s\x71l";${"\x47LO\x42\x41\x4c\x53"}["\x6e\x63\x72\x74\x6ft\x75\x67t\x66\x7a\x6d"]="\x6c\x61ngu\x61\x67\x65\x73";${"\x47\x4c\x4f\x42\x41L\x53"}["\x66t\x68h\x6aj\x67e\x62"]="n\x65\x77\x5fca\x74\x65gory";${"\x47LO\x42\x41L\x53"}["\x6e\x72\x75w\x67\x6ej\x6b\x6d\x71\x78u"]="p\x72\x6fduc\x74\x5fdow\x6elo\x61d";${"\x47L\x4f\x42\x41L\x53"}["\x74d\x75\x73\x7a\x7av\x74\x72y\x71"]="\x69\x64\x5fpr\x6fduct_\x64ow\x6el\x6fad";${"\x47\x4c\x4f\x42\x41LS"}["\x6bwd\x61\x71j\x66v\x72\x6e\x6e"]="\x66il\x65n\x61\x6d\x65";${"\x47LOB\x41\x4c\x53"}["\x73x\x73a\x73gs"]="vir\x74ua\x6c\x5fpr\x6fdu\x63\x74_\x65\x78\x70\x69\x72\x61t\x69\x6fn\x5f\x64at\x65";${"\x47L\x4fB\x41\x4c\x53"}["x\x6ent\x76\x63\x65\x79"]="vir\x74u\x61l\x5f\x70r\x6fd\x75c\x74\x5fnb_\x64\x6f\x77\x6e\x6c\x6fab\x6ce";${"\x47\x4cOB\x41\x4cS"}["\x66\x63\x6ff\x66\x78g\x62s\x6a"]="\x76\x69\x72t\x75al\x5f\x70\x72o\x64\x75\x63\x74\x5f\x66\x69\x6c\x65na\x6de";${"\x47L\x4f\x42\x41\x4cS"}["\x6dn\x6a\x67n\x66\x69e\x6a\x69x"]="\x76\x69\x72t\x75a\x6c_p\x72\x6f\x64\x75\x63t\x5f\x6e\x61m\x65";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x6coe\x70\x73\x6d"]="i\x73\x5f\x73ha\x72\x65\x61\x62\x6ce";${"\x47\x4cOB\x41\x4cS"}["\x61m\x76\x6d\x67nz"]="\x65\x64\x69\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x70\x70\x75\x70\x78\x70\x78\x65\x62"]="\x68as\x4f\x77ne\x72S\x68\x69\x70";${"\x47\x4c\x4f\x42\x41L\x53"}["y\x63lxf\x64\x7an\x78\x68vc"]="p\x72\x6f\x64";${"G\x4cOB\x41\x4c\x53"}["wh\x77r\x74\x6f\x66\x69\x6c\x6b\x75\x74"]="\x64\x65fla\x6e\x67";class AgileMultipleSellerSellerProductDetailModuleFrontControllerBase extends AgileModuleFrontController{protected$product_menus=array();protected$max_image_size=null;public$auth=true;public$ssl=true;protected$languages;protected$id_language;protected$product_menu;protected$object;public function setMedia(){parent::setMedia();${${"\x47\x4c\x4fB\x41L\x53"}["\x77\x68\x77r\x74\x6f\x66\x69\x6c\x6bu\x74"]}=new Language(self::$cookie->id_lang);${"GL\x4f\x42\x41L\x53"}["\x76\x66\x72\x6c\x77wu\x6b"]="\x69\x73\x6f\x63\x6fd\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x68f\x65\x70\x70\x64"]="i\x73\x6f\x63\x6f\x64\x65";${${"GLO\x42A\x4c\x53"}["\x76f\x72\x6c\x77w\x75\x6b"]}=(file_exists(_PS_JS_DIR_."jq\x75\x65\x72y/u\x69/\x6aquery.\x75\x69.da\x74epi\x63\x6be\x72-".$deflang->iso_code.".js")?$deflang->iso_code:"e\x6e");$this->addJS(array(_PS_JS_DIR_."\x74i\x6e\x79\x5fmc\x65/\x74inym\x63e\x2emin.\x6a\x73",_PS_JS_DIR_."ti\x6e\x79\x6d\x63e\x2e\x69n\x63\x2ejs",_PS_ROOT_DIR_."/\x6d\x6f\x64u\x6ces/\x61\x67i\x6c\x65m\x75\x6ct\x69p\x6c\x65\x73el\x6cer/re\x70li\x63a/\x66\x69\x6ce\x6da\x6eage\x72/plugin\x2ejs",_PS_JS_DIR_."\x61d\x6d\x69n\x2ejs",_PS_JS_DIR_."jqu\x65ry/\x70l\x75g\x69\x6e\x73/j\x71ue\x72\x79\x2e\x74\x79p\x65wa\x74\x63\x68\x2e\x6as",_PS_JS_DIR_."j\x71uer\x79/\x75i/\x6aque\x72\x79\x2e\x75\x69.co\x72e\x2em\x69\x6e.j\x73",_PS_JS_DIR_."\x6aq\x75ery/\x75\x69/\x6aq\x75er\x79.ui\x2ew\x69dge\x74\x2emi\x6e.\x6a\x73",_PS_JS_DIR_."jq\x75\x65r\x79/ui/\x6a\x71\x75\x65\x72y\x2e\x75\x69.mo\x75se.\x6d\x69n\x2ejs",_PS_JS_DIR_."j\x71u\x65ry/\x75i/jqu\x65r\x79.\x75i.s\x6c\x69\x64e\x72.m\x69\x6e\x2e\x6as",_PS_JS_DIR_."\x6aq\x75\x65\x72y/ui/\x6aq\x75\x65\x72y\x2eu\x69\x2e\x77i\x64\x67et\x2em\x69\x6e.js",_PS_JS_DIR_."\x6aq\x75ery/\x75i/\x6aqu\x65\x72\x79.\x75\x69\x2e\x64\x61t\x65\x70i\x63ke\x72\x2e\x6din\x2ej\x73",_PS_JS_DIR_."\x6a\x71\x75\x65ry/u\x69/\x6aq\x75er\x79.u\x69\x2ed\x61\x74ep\x69\x63ke\x72-".${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68hf\x65\x70p\x64"]}.".\x6as",_PS_JS_DIR_."\x6aq\x75e\x72y/p\x6c\x75g\x69\x6e\x73/\x74\x69\x6de\x70\x69\x63ke\x72/jq\x75\x65\x72y-u\x69-\x74\x69mepic\x6ber-a\x64\x64on\x2e\x6as",_PS_ROOT_DIR_."/\x6d\x6f\x64ules/\x61\x67\x69lemu\x6c\x74ip\x6cese\x6cle\x72/\x6as/Ag\x69l\x65\x53\x74\x61t\x65\x73Mana\x67\x65m\x65\x6et\x2ejs",_PS_ROOT_DIR_."/m\x6f\x64ul\x65s/\x61g\x69\x6cemu\x6c\x74\x69\x70\x6c\x65sel\x6cer/r\x65\x70\x6c\x69\x63\x61/\x74\x68\x65\x6d\x65\x73/d\x65fau\x6ct/\x6as/d\x72\x6fp\x64ow\x6e\x2e\x6as",));if(Module::isInstalled("\x61\x67ile\x73e\x6c\x6c\x65r\x6ci\x73\x74o\x70ti\x6fns")){$this->addJS(array(_PS_ROOT_DIR_."/m\x6f\x64u\x6ce\x73/\x61\x67il\x65\x73e\x6c\x6ce\x72\x6cis\x74\x6fpti\x6f\x6es/js/\x6ci\x73\x74o\x70t\x69\x6fn\x73.js"));}$this->addCSS(__PS_BASE_URI__."m\x6f\x64u\x6c\x65\x73/ag\x69\x6c\x65mul\x74\x69\x70l\x65se\x6cl\x65\x72/\x6a\x73/tre\x65vi\x65\x77-\x63\x61\x74eg\x6f\x72\x69\x65s/jque\x72y\x2et\x72\x65e\x76\x69\x65w-\x63\x61t\x65gori\x65\x73\x2ecs\x73","\x61ll");}private function agileLoadProduct($id_product){$jqvwjoj="\x69d\x5fpr\x6f\x64uc\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["d\x76\x65\x76m\x73\x67\x6d\x71\x67"]="\x69d\x5f\x70\x72\x6f\x64uc\x74";${${"G\x4c\x4f\x42A\x4c\x53"}["\x79\x63\x6cx\x66\x64z\x6ex\x68v\x63"]}=new Product(${${"\x47\x4cO\x42ALS"}["\x64\x76\x65\x76\x6ds\x67\x6dq\x67"]},true);$tljegdkqqmv="\x70r\x6f\x64";$prod->price=(float)Db::getInstance()->getValue("S\x45\x4cE\x43T\x20\x70rice FR\x4fM "._DB_PREFIX_."prod\x75ct \x57\x48ERE i\x64_\x70\x72od\x75\x63\x74=".(int)${$jqvwjoj});$prod->unit_price=($prod->unit_price_ratio!=0?$prod->price/$prod->unit_price_ratio:0);return${$tljegdkqqmv};}public function init(){global$smarty;parent::init();header("C\x61ch\x65-C\x6fntr\x6f\x6c: \x6e\x6f-ca\x63h\x65,\x20\x6dust-\x72\x65\x76a\x6c\x69date");header("\x45x\x70i\x72\x65s:\x20Sa\x74,\x20\x326 \x4a\x75\x6c\x201\x39\x397 05:\x300:00 GM\x54");$iccxhui="h\x61\x73\x4f\x77n\x65rS\x68i\x70";$this->max_image_size=(int)Configuration::get("P\x53\x5fP\x52O\x44\x55C\x54\x5fPIC\x54U\x52E_MAX_\x53I\x5aE")/1000;$this->languages=Language::getLanguages(false);$this->id_object=intval(Tools::getValue("id_\x70\x72o\x64u\x63\x74"));$this->id_language=intval(Tools::getValue("i\x64\x5flangu\x61\x67e"));$this->product_menu=intval(Tools::getValue("\x70rod\x75ct_\x6den\x75"));if($this->product_menu==0)$this->product_menu=1;if($this->id_language==0)$this->id_language=$this->context->language->id;$this->object=$this->agileLoadProduct($this->id_object,true);if($this->id_object==0)$this->object->out_of_stock=StockAvailable::outOfStock(0);$jehffudjp="\x68\x61sO\x77\x6e\x65\x72\x53\x68i\x70";${$iccxhui}=$this->hasOwnerShip();if(!${$jehffudjp})$this->errors=Tools::displayError("You\x20do \x6e\x6ft\x20\x68\x61\x76\x65 p\x65r\x6di\x73\x73i\x6fn\x20\x74\x6f\x20\x61\x63c\x65\x73s/mod\x69\x66\x79 \x74\x68\x69\x73 \x64at\x61.");$smarty->assign(array("\x68\x61sO\x77\x6eer\x53\x68\x69p"=>${${"\x47LO\x42\x41L\x53"}["\x67\x70\x70\x75p\x78\x70\x78\x65b"]}));}public function postProcess(){$_POST["i\x64\x5f\x73\x65ller"]=AgileSellerManager::getLinkedSellerID($this->context->customer->id);$this->object->indexed=0;if(Tools::isSubmit("\x73\x75bmi\x74Pr\x6fduct")){$this->processSaveProduct();if(empty($this->errors))self::$smarty->assign("cfm\x6dsg\x5ff\x6ca\x67",1);}else if(Tools::isSubmit("s\x75\x62\x6d\x69\x74Ad\x64Image")){$this->ProcessAddImage();if(empty($this->errors))self::$smarty->assign("c\x66\x6dmsg\x5f\x66\x6cag",1);}else if(Tools::isSubmit("s\x75\x62\x6di\x74F\x65a\x74u\x72e\x73")){$this->processFeatures();if(empty($this->errors))self::$smarty->assign("c\x66\x6dm\x73g\x5fflag",1);}else if(Tools::isSubmit("\x73\x75\x62\x6di\x74Ass\x6fciat\x69o\x6e\x73")){$xdmeyemde="\x6eewid";$this->updateAccessories();${"\x47LO\x42\x41\x4cS"}["\x72\x62\x79o\x6bw\x64"]="\x6ee\x77\x69\x64";$this->object->updateCategories(Tools::getValue("cat\x65\x67ory\x42o\x78"),true);${${"\x47LO\x42\x41\x4c\x53"}["\x72b\x79okwd"]}=$this->addNewCategory($this->object->id,intval(Tools::getValue("\x69\x64\x5f\x63\x61te\x67\x6fry\x5f\x64e\x66\x61\x75\x6ct")));$bdmloliqng="\x6e\x65w\x69\x64";$this->object->id_category_default=(${$bdmloliqng}>0?${$xdmeyemde}:intval(Tools::getValue("i\x64_c\x61\x74\x65\x67\x6f\x72\x79_d\x65f\x61u\x6ct")));if(intval($this->object->id_category_default)<=0){$this->errors[]=Tools::displayError("D\x65\x66\x61ul\x74 \x63\x61t\x65go\x72y is \x72eq\x75ir\x65\x64");return;}$this->object->save();if(empty($this->errors))self::$smarty->assign("\x63\x66\x6d\x6d\x73\x67\x5f\x66\x6ca\x67",1);}else if(Tools::isSubmit("s\x75\x62\x6ditSpeci\x66ic\x50rices")){$this->object->wholesale_price=floatval(Tools::getValue("w\x68\x6f\x6c\x65\x73a\x6c\x65_\x70\x72\x69c\x65"));$this->object->price=floatval(Tools::getValue("\x70\x72\x69\x63\x65"));if(floatval(Tools::getValue("\x75\x6e\x69\x74\x5fpr\x69c\x65"))!=0)$this->object->unit_price_ratio=$this->object->price/floatval(Tools::getValue("u\x6e\x69\x74\x5fp\x72\x69\x63\x65"));$this->object->unity=Tools::getValue("u\x6eit\x79");$this->object->on_sale=Tools::getValue("\x6f\x6e_\x73\x61\x6c\x65");$this->object->id_tax_rules_group=Tools::getValue("id_ta\x78\x5f\x72\x75l\x65s_gr\x6fup");$this->object->save();$this->processPriceAddition();$this->processSpecificPricePriorities();if(empty($this->errors))self::$smarty->assign("cf\x6dms\x67\x5f\x66lag",1);}else if(Tools::isSubmit("s\x75\x62mi\x74Qu\x61\x6e\x74i\x74ies")){$this->copyFromPost($this->object,$this->table);$this->object->save();if(empty($this->errors))self::$smarty->assign("\x63\x66mms\x67\x5ffla\x67",1);}else if(Tools::isSubmit("submitCo\x6db\x69nation\x73")){$this->processCombinations();if(empty($this->errors))self::$smarty->assign("\x63\x66\x6dmsg\x5f\x66\x6ca\x67",1);}else if(Tools::isSubmit("\x73ub\x6dit\x56i\x72tual\x50\x72\x6f\x64\x75\x63\x74")){$this->object->is_virtual=Tools::getValue("\x69\x73_\x76ir\x74u\x61\x6c\x5f\x67\x6fo\x64")=="\x74\x72u\x65"?1:0;$this->object->save($this->object);if($this->object->is_virtual AND intval(Tools::getValue("i\x73\x5f\x76i\x72t\x75al_fi\x6c\x65")))$this->updateDownloadProduct($this->object);if(empty($this->errors))self::$smarty->assign("c\x66\x6dm\x73\x67\x5f\x66la\x67",1);}else if(Tools::isSubmit("\x73\x75\x62m\x69t\x53h\x69\x70ping")){$this->processShipping();if(empty($this->errors))self::$smarty->assign("\x63\x66mms\x67_\x66\x6c\x61g",1);}else if(Tools::isSubmit("\x73\x75bm\x69tAddAtt\x61\x63\x68m\x65\x6et\x73")){$this->processAddAttachments();if(empty($this->errors))self::$smarty->assign("c\x66m\x6dsg_\x66\x6ca\x67",1);}else if(Tools::isSubmit("s\x75\x62m\x69t\x41\x74tachmen\x74s")){$this->processAttachments();if(empty($this->errors))self::$smarty->assign("\x63\x66m\x6ds\x67_fla\x67",1);}if(empty($this->errors)){if(Validate::isLoadedObject($this->object)&&$this->object->update()){if(in_array($this->object->visibility,array("\x62ot\x68","\x73ear\x63\x68"))&&Configuration::get("\x50\x53\x5fS\x45AR\x43H\x5fI\x4e\x44\x45XA\x54ION"))Search::indexation(false,$this->object->id);}}}public function updateDownloadProduct($product,$edit=0){$xushuxfg="\x69\x73\x5f\x76i\x72t\x75al_fi\x6c\x65";${$xushuxfg}=(int)Tools::getValue("is_\x76irt\x75a\x6c\x5ff\x69\x6ce");if(Tools::getValue("\x69\x73_\x76irt\x75\x61\x6c_g\x6f\x6fd")=="tru\x65"){$kdnkke="\x69\x73_v\x69\x72tua\x6c\x5ffi\x6c\x65";$jjubnctupv="\x69\x64\x5f\x70r\x6f\x64\x75\x63\x74\x5f\x64o\x77n\x6co\x61\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x66\x75\x6c\x7a\x6e\x7a\x78b"]="\x76\x69\x72\x74\x75a\x6c\x5f\x70\x72\x6f\x64\x75c\x74\x5f\x66i\x6c\x65\x6e\x61\x6d\x65";if(Tools::getValue("\x76ir\x74\x75\x61\x6c\x5f\x70rod\x75c\x74_\x65\x78\x70\x69\x72a\x74i\x6f\x6e_d\x61t\x65")&&!Validate::isDate(Tools::getValue("\x76i\x72tua\x6c\x5f\x70r\x6f\x64uct\x5fe\x78p\x69rati\x6fn\x5fdat\x65")&&!empty(${$kdnkke}))){if(!Tools::getValue("\x76ir\x74\x75\x61\x6c_\x70\x72\x6fdu\x63t\x5fexpi\x72\x61t\x69o\x6e\x5f\x64\x61\x74e")){$this->errors[]=Tools::displayError("\x54h\x69\x73\x20\x66iel\x64\x20e\x78pi\x72ati\x6f\x6e \x64\x61\x74\x65\x20\x61\x74tr\x69b\x75te\x20is\x20r\x65qu\x69red\x2e");return false;}}$cfrmoknra="v\x69\x72t\x75\x61l\x5fp\x72\x6f\x64\x75\x63\x74\x5f\x6e\x62\x5fdays";$jblcpnygcmod="\x64\x6f\x77n\x6co\x61\x64";${"\x47\x4cO\x42A\x4c\x53"}["x\x74\x62ivutnf\x6c\x65"]="f\x69l\x65\x6e\x61m\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x64\x6f\x72\x71\x78"]="vi\x72\x74\x75\x61l_pr\x6f\x64u\x63\x74\x5f\x6eb\x5f\x64\x61\x79\x73";if(${${"\x47L\x4f\x42A\x4c\x53"}["\x61m\x76\x6dgn\x7a"]}==1){$vsbmfvipoh="\x69\x64\x5f\x70\x72od\x75\x63t_\x64\x6f\x77n\x6c\x6f\x61\x64";${$vsbmfvipoh}=(int)ProductDownload::getIdFromIdProduct((int)$product->id);${"GLO\x42\x41\x4c\x53"}["\x79\x63t\x79\x6f\x68\x6e\x66\x79"]="i\x64\x5f\x70\x72\x6fdu\x63t\x5f\x64own\x6co\x61d";$rksxektvps="i\x64_\x70ro\x64\x75ct_\x64\x6f\x77n\x6co\x61d";if(!${${"\x47\x4c\x4fBA\x4cS"}["\x79ct\x79\x6fhn\x66\x79"]})${$rksxektvps}=(int)Tools::getValue("\x76ir\x74ual\x5f\x70roduc\x74_i\x64");}else${$jjubnctupv}=Tools::getValue("vi\x72\x74ual_pr\x6f\x64\x75\x63t\x5f\x69\x64");${${"G\x4c\x4f\x42ALS"}["\x6dl\x6f\x65\x70s\x6d"]}=Tools::getValue("\x76\x69\x72t\x75a\x6c\x5f\x70ro\x64\x75c\x74_\x69\x73\x5f\x73\x68\x61r\x65\x61\x62le");${${"\x47L\x4f\x42\x41\x4cS"}["\x6d\x6e\x6a\x67\x6e\x66i\x65\x6ai\x78"]}=Tools::getValue("\x76\x69r\x74\x75al\x5f\x70r\x6fd\x75ct\x5fn\x61me");${${"G\x4c\x4fB\x41\x4cS"}["\x66\x63\x6f\x66\x66\x78gb\x73\x6a"]}=Tools::getValue("v\x69r\x74\x75al_produc\x74\x5f\x66\x69len\x61m\x65");$jlcwdfcl="\x76ir\x74\x75\x61\x6c_\x70\x72\x6fduc\x74\x5f\x65\x78\x70\x69\x72\x61\x74\x69\x6f\x6e_d\x61t\x65";${$cfrmoknra}=Tools::getValue("\x76irtua\x6c\x5f\x70\x72o\x64uc\x74_\x6eb_d\x61\x79\x73");${"\x47\x4cOB\x41\x4c\x53"}["v\x64p\x63\x72qy\x78\x63\x6b"]="i\x64\x5f\x70\x72\x6f\x64uc\x74_\x64\x6f\x77\x6e\x6c\x6f\x61\x64";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x6e\x6et\x76\x63\x65\x79"]}=Tools::getValue("virtua\x6c\x5f\x70r\x6fdu\x63t_\x6eb_\x64ow\x6e\x6c\x6fa\x62\x6c\x65");${${"G\x4c\x4f\x42ALS"}["\x73\x78s\x61\x73\x67\x73"]}=Tools::getValue("\x76\x69\x72tua\x6c_p\x72\x6f\x64uct_ex\x70\x69r\x61ti\x6fn\x5f\x64\x61\x74\x65");if(${${"GL\x4fB\x41LS"}["f\x63o\x66f\x78\x67b\x73\x6a"]})${${"\x47L\x4f\x42\x41\x4cS"}["\x6bw\x64aq\x6a\x66\x76\x72\x6en"]}=${${"GL\x4f\x42\x41L\x53"}["\x62\x66\x75\x6c\x7an\x7ax\x62"]};else${${"G\x4c\x4f\x42\x41LS"}["\x78\x74b\x69v\x75t\x6e\x66\x6c\x65"]}=ProductDownload::getNewFilename();${$jblcpnygcmod}=new ProductDownload((int)${${"GL\x4fBA\x4c\x53"}["\x76\x64\x70c\x72q\x79\x78c\x6b"]});$download->id_product=(int)$product->id;$download->display_filename=${${"G\x4c\x4f\x42\x41\x4cS"}["m\x6ejgnfi\x65\x6ai\x78"]};$download->filename=${${"G\x4c\x4fBA\x4cS"}["k\x77\x64\x61\x71j\x66\x76rn\x6e"]};$download->date_add=date("\x59-\x6d-d H:i:\x73");$download->date_expiration=${$jlcwdfcl}?${${"\x47L\x4f\x42A\x4cS"}["\x73\x78\x73a\x73\x67\x73"]}." \x323:\x35\x39:\x359":"";$download->nb_days_accessible=(int)${${"\x47LO\x42\x41\x4c\x53"}["\x76\x64\x6f\x72\x71\x78"]};$download->nb_downloadable=(int)${${"G\x4cOB\x41\x4c\x53"}["x\x6e\x6e\x74\x76\x63\x65\x79"]};${"G\x4cOB\x41L\x53"}["\x69p\x68\x62r\x61"]="i\x73\x5f\x73\x68\x61\x72e\x61\x62l\x65";$download->active=1;$download->is_shareable=(int)${${"\x47\x4cO\x42\x41\x4c\x53"}["\x69phb\x72a"]};if($download->save())return true;}else{${"GL\x4fB\x41\x4cS"}["\x6f\x71y\x72\x76xw\x71\x73r\x68"]="i\x64_p\x72\x6f\x64u\x63t_\x64\x6f\x77\x6el\x6f\x61\x64";$bzjooeqnbmn="\x69d\x5f\x70r\x6f\x64u\x63\x74\x5f\x64o\x77n\x6c\x6fad";if(${${"G\x4cO\x42\x41\x4c\x53"}["a\x6d\x76\x6dg\x6ez"]}==1){${${"G\x4cO\x42AL\x53"}["\x74\x64\x75\x73\x7a\x7a\x76t\x72y\x71"]}=(int)ProductDownload::getIdFromIdProduct((int)$product->id);if(!${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x64us\x7az\x76\x74r\x79\x71"]})${${"G\x4c\x4f\x42\x41\x4cS"}["\x74\x64u\x73\x7azv\x74\x72yq"]}=(int)Tools::getValue("\x76\x69r\x74u\x61l_\x70\x72o\x64\x75c\x74\x5f\x69d");}else${${"\x47\x4cO\x42A\x4cS"}["oq\x79\x72v\x78w\x71s\x72h"]}=ProductDownload::getIdFromIdProduct($product->id);if(!empty(${$bzjooeqnbmn})){$wltlvspui="\x69d\x5fpro\x64u\x63t\x5f\x64\x6fw\x6el\x6f\x61\x64";${${"\x47L\x4fB\x41\x4cS"}["\x6e\x72\x75\x77\x67\x6e\x6akm\x71\x78\x75"]}=new ProductDownload((int)${$wltlvspui});$product_download->date_expiration=date("Y-\x6d-d H:i:s",time()-1);$product_download->active=0;return$product_download->save();}}return false;}private function addNewCategory($id_product,$id_parent){$dhtzerx="i\x64_\x70ar\x65nt";${"G\x4cO\x42A\x4cS"}["q\x76\x76vh\x72\x69n"]="\x70\x61\x72\x65\x6et";global$cookie;$eppknzfetz="\x69\x64_\x70a\x72\x65\x6e\x74";${${"GL\x4f\x42\x41LS"}["\x71v\x76\x76\x68\x72\x69\x6e"]}=new Category(${$dhtzerx},$cookie->id_lang);$qijhcqqcx="ca\x74\x65\x67\x6fr\x79";$pumgtgxjnz="n\x65\x77\x5fc\x61\x74e\x67ory";${${"\x47\x4cOB\x41\x4c\x53"}["ft\x68\x68jj\x67\x65\x62"]}=Tools::getValue("n\x65\x77_\x63ate\x67\x6f\x72y");${"\x47L\x4f\x42AL\x53"}["he\x65\x63o\x64bmff"]="\x6c\x61\x6eg";if(empty(${$pumgtgxjnz}))return;${$qijhcqqcx}=new Category();$zubqjego="id_pro\x64\x75\x63\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x63r\x74\x6f\x74\x75gt\x66\x7a\x6d"]}=Language::getLanguages(false);foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x63\x72\x74\x6f\x74u\x67\x74\x66z\x6d"]} AS${${"G\x4cO\x42\x41\x4c\x53"}["\x68\x65\x65\x63\x6f\x64b\x6d\x66f"]}){$tstmjwpkjs="la\x6e\x67";${"\x47LO\x42A\x4c\x53"}["qdi\x72\x71\x72\x61\x6a\x63\x68\x77p"]="ne\x77\x5f\x63\x61\x74\x65\x67o\x72\x79";$category->name[${$tstmjwpkjs}["\x69\x64\x5flang"]]=${${"\x47\x4cO\x42AL\x53"}["ft\x68\x68j\x6ag\x65b"]};$thvapzxpcmjj="\x6c\x61\x6e\x67";$category->link_rewrite[${$thvapzxpcmjj}["\x69\x64\x5fla\x6e\x67"]]=Tools::link_rewrite(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x64\x69\x72q\x72a\x6ac\x68wp"]});}$category->id_parent=${$eppknzfetz};$category->id_shop_default=Shop::getContextShopID();$category->level_depth=$parent->level_depth+1;$category->is_root_category=0;$category->active=1;$category->save();${${"G\x4c\x4f\x42A\x4c\x53"}["\x6e\x73\x69\x77r\x69\x74"]}="\x49\x4eSE\x52\x54\x20\x49\x4eTO "._DB_PREFIX_."\x63\x61\x74\x65g\x6fry_\x70ro\x64\x75\x63t (\x69\x64\x5f\x63\x61t\x65g\x6fry,i\x64\x5f\x70r\x6f\x64\x75ct,\x70osi\x74io\x6e) VALUE\x53\x20(".$category->id.",".${$zubqjego}.",0)";Db::getInstance()->Execute(${${"\x47L\x4f\x42\x41\x4c\x53"}["ns\x69\x77\x72\x69\x74"]});${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x73\x69\x77\x72i\x74"]}="\x52\x45PL\x41\x43\x45\x20I\x4e\x54\x4f\x20"._DB_PREFIX_."cate\x67o\x72\x79\x5fs\x68op (\x69\x64\x5fcat\x65\x67or\x79,i\x64\x5f\x73\x68op,\x70os\x69t\x69o\x6e)\x20VAL\x55\x45S\x20(".$category->id.",".$category->id_shop_default.",0)";Db::getInstance()->Execute(${${"\x47\x4cOB\x41\x4cS"}["nsi\x77\x72i\x74"]});return$category->id;}public function processPriceAddition(){$mkxgvrud="\x70r\x69c\x65";${"G\x4c\x4f\x42ALS"}["\x61\x6aui\x64\x71k\x67s\x72"]="id_\x70\x72\x6f\x64uct_\x61\x74\x74\x72i\x62u\x74\x65";${"GLO\x42\x41\x4c\x53"}["agcs\x6aj\x71\x6eh\x61"]="\x66\x72\x6f\x6d\x5fq\x75a\x6e\x74\x69t\x79";if(!Tools::getIsset("\x73ubmitPri\x63\x65\x41ddi\x74i\x6f\x6e"))return;${"\x47L\x4f\x42\x41\x4cS"}["\x61w\x74\x6d\x79\x6f\x6c"]="\x66\x72\x6f\x6d";${${"\x47\x4c\x4fB\x41\x4c\x53"}["d\x75sksl\x79\x77\x6fu"]}=Tools::getValue("\x69\x64_p\x72od\x75c\x74");${${"\x47\x4cO\x42\x41\x4cS"}["\x61\x6au\x69\x64q\x6b\x67\x73\x72"]}=Tools::getValue("\x73p_i\x64_pr\x6fduct\x5f\x61t\x74\x72\x69b\x75te");$fzjbmicwpy="\x69d_g\x72\x6fup";${"G\x4c\x4f\x42ALS"}["b\x76l\x62\x71\x6c\x68qb"]="\x69\x64\x5fc\x75s\x74\x6f\x6d\x65\x72";${"\x47LO\x42\x41\x4c\x53"}["\x6fqv\x6a\x6eq\x74\x72m\x78"]="\x72\x65d\x75c\x74\x69\x6fn";$flviqltrieb="id\x5fg\x72oup";$dmtqbdei="t\x6f";$qcsuimfvb="\x72\x65\x64u\x63tion";${"GL\x4fB\x41\x4c\x53"}["\x67\x66t\x74\x75y\x63x"]="\x69\x64\x5f\x73\x68\x6f\x70";${"\x47\x4cO\x42\x41\x4c\x53"}["\x7and\x71\x64f\x62\x79"]="\x70r\x69\x63\x65";$jvjxbowmhyfq="\x69\x64\x5fs\x68\x6f\x70";${$jvjxbowmhyfq}=Tools::getValue("s\x70\x5f\x69\x64\x5f\x73\x68\x6f\x70");${${"\x47\x4c\x4fB\x41\x4cS"}["\x6el\x76\x6b\x72f"]}=Tools::getValue("\x73p\x5fi\x64\x5f\x63urren\x63y");${"GLO\x42A\x4c\x53"}["i\x71jw\x75s\x69\x69"]="\x74o";$vmitvwz="\x70\x72\x69\x63\x65";$aamyrkc="\x69d\x5fc\x75\x73\x74\x6f\x6d\x65\x72";$olviirqz="\x69\x64\x5f\x70\x72\x6f\x64u\x63\x74_a\x74\x74\x72\x69\x62\x75\x74\x65";${${"\x47\x4cOBA\x4c\x53"}["\x6amup\x68\x71\x6f\x72u\x6fo"]}=Tools::getValue("s\x70\x5f\x69\x64\x5fcoun\x74r\x79");${$fzjbmicwpy}=Tools::getValue("s\x70_i\x64_gro\x75p");${$aamyrkc}=Tools::getValue("\x73p\x5fi\x64_\x63\x75st\x6f\x6der");${${"GL\x4fBA\x4c\x53"}["\x74\x69e\x69b\x62\x76oz\x65\x6e\x79"]}=Tools::getValue("\x73\x70_pr\x69\x63e");if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x7a\x6ed\x71df\x62\x79"]}==0)${$vmitvwz}=(float)Db::getInstance()->getValue("SELEC\x54 pr\x69ce\x20\x46R\x4fM\x20"._DB_PREFIX_."\x70\x72\x6f\x64u\x63\x74 \x57\x48\x45RE\x20i\x64_\x70roduct\x3d".intval(${${"\x47LOBA\x4c\x53"}["\x64u\x73\x6b\x73\x6c\x79\x77o\x75"]}));${${"\x47L\x4fB\x41\x4c\x53"}["\x61gc\x73\x6aj\x71\x6e\x68a"]}=Tools::getValue("s\x70\x5f\x66r\x6f\x6d_\x71u\x61\x6etity");$hojtvxxkslk="\x72e\x64\x75\x63\x74\x69\x6f\x6e\x5f\x74\x79p\x65";${$qcsuimfvb}=(float)(Tools::getValue("s\x70_re\x64u\x63\x74\x69\x6f\x6e"));${$hojtvxxkslk}=!${${"GL\x4fBA\x4c\x53"}["c\x6b\x6e\x75\x67mb"]}?"\x61\x6d\x6fu\x6e\x74":Tools::getValue("\x73\x70\x5f\x72e\x64\x75ct\x69\x6f\x6e\x5ft\x79pe");${${"G\x4c\x4fB\x41LS"}["\x61\x77t\x6d\x79o\x6c"]}=Tools::getValue("\x73p\x5f\x66r\x6f\x6d");${"\x47\x4cOB\x41\x4c\x53"}["\x71\x6b\x77pi\x73\x79"]="i\x64_\x63o\x75\x6e\x74r\x79";if(!${${"\x47\x4c\x4f\x42\x41LS"}["l\x72\x6bbf\x68l"]})${${"G\x4cOB\x41\x4c\x53"}["\x6c\x72k\x62f\x68l"]}="\x300\x300-\x300-0\x30\x200\x30:\x300:00";${$dmtqbdei}=Tools::getValue("sp_t\x6f");if(!${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x71jw\x75\x73\x69\x69"]})${${"G\x4c\x4fBA\x4c\x53"}["ga\x6a\x65\x69\x70\x6f\x69\x75\x6b\x67"]}="\x300\x300-\x30\x30-\x30\x30\x20\x30\x30:00:00";$tsupskf="\x69\x64_\x63\x75\x72\x72\x65n\x63y";if($this->_validateSpecificPrice(${${"G\x4cOBALS"}["g\x66\x74t\x75\x79\x63\x78"]},${$tsupskf},${${"\x47LO\x42A\x4c\x53"}["\x71\x6bw\x70\x69s\x79"]},${$flviqltrieb},${${"\x47LOBAL\x53"}["b\x76l\x62q\x6c\x68\x71\x62"]},${$mkxgvrud},${${"G\x4c\x4f\x42AL\x53"}["\x6e\x68\x61d\x67\x77\x7a"]},${${"G\x4c\x4fB\x41LS"}["o\x71v\x6anq\x74r\x6dx"]},${${"GLOB\x41LS"}["\x6f\x66d\x6d\x75\x71h\x6e\x6fg\x72"]},${${"\x47\x4cOB\x41\x4cS"}["\x6c\x72kbfhl"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["g\x61j\x65\x69po\x69\x75\x6b\x67"]},${$olviirqz})){${"\x47L\x4f\x42\x41L\x53"}["q\x7ag\x76h\x78\x62u\x76x"]="\x69\x64_pr\x6fd\x75\x63\x74_\x61\x74\x74r\x69\x62ut\x65";${"\x47L\x4fBA\x4cS"}["\x6f\x6c\x7ap\x79\x64\x63\x69\x6a\x64\x77"]="\x72\x65d\x75\x63\x74\x69\x6fn\x5ft\x79\x70\x65";${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x63\x6c\x76\x63\x63\x6f"]="\x73\x70\x65c\x69\x66\x69\x63\x50\x72i\x63\x65";$nnvzfxrh="i\x64_\x63\x6f\x75\x6e\x74\x72\x79";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x67\x78\x6f\x74\x7ak"]="\x72e\x64\x75\x63t\x69\x6fn";${"\x47\x4c\x4f\x42AL\x53"}["\x75\x79k\x61e\x6f\x72"]="f\x72\x6f\x6d\x5fqu\x61\x6e\x74\x69t\x79";${${"\x47\x4c\x4f\x42\x41L\x53"}["m\x63\x6c\x76\x63c\x6f"]}=new SpecificPrice();${"GL\x4f\x42A\x4cS"}["f\x67\x6a\x6d\x79t"]="\x69d_\x63\x75\x73\x74om\x65\x72";$uztxxxnvcv="i\x64_\x67\x72\x6fu\x70";$specificPrice->id_product=(int)${${"G\x4c\x4f\x42\x41LS"}["d\x75sk\x73lywou"]};$specificPrice->id_product_attribute=(int)${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x7ag\x76\x68x\x62\x75v\x78"]};$specificPrice->id_shop=(int)${${"G\x4c\x4f\x42AL\x53"}["a\x65\x77d\x62i\x65\x65"]};$specificPrice->id_currency=(int)(${${"\x47\x4c\x4f\x42A\x4c\x53"}["nlvk\x72\x66"]});$uregglwlx="\x70\x72\x69ce";$specificPrice->id_country=(int)(${$nnvzfxrh});$specificPrice->id_group=(int)(${$uztxxxnvcv});${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6eq\x68v\x6b\x64k\x7a"]="\x72ed\x75ct\x69on";$specificPrice->id_customer=(int)${${"G\x4cO\x42\x41\x4cS"}["\x66gj\x6dyt"]};$specificPrice->price=(float)(${$uregglwlx}==0?10:${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x69\x65ib\x62\x76\x6fzeny"]});$specificPrice->from_quantity=(int)(${${"GL\x4fBA\x4c\x53"}["\x75y\x6ba\x65or"]});$specificPrice->reduction=(float)(${${"\x47LO\x42\x41\x4cS"}["o\x6cz\x70\x79dc\x69j\x64\x77"]}=="\x70erc\x65nt\x61\x67e"?${${"\x47L\x4fB\x41\x4c\x53"}["\x6e\x71\x68v\x6bd\x6bz"]}/100:${${"G\x4cO\x42\x41\x4c\x53"}["\x6dg\x78\x6f\x74\x7ak"]});$specificPrice->reduction_type=${${"G\x4cO\x42AL\x53"}["\x6ffdmu\x71\x68n\x6f\x67\x72"]};$axwhpolzhlq="\x66r\x6f\x6d";$specificPrice->from=${$axwhpolzhlq};$specificPrice->to=${${"GLO\x42\x41\x4c\x53"}["\x67a\x6a\x65ip\x6f\x69\x75k\x67"]};if(!$specificPrice->add())$this->errors=Tools::displayError("An\x20\x65r\x72or\x20o\x63c\x75\x72\x72\x65\x64 w\x68ile u\x70da\x74\x69n\x67 t\x68\x65\x20\x73\x70ec\x69f\x69\x63 p\x72\x69\x63e.");}}protected function _validateSpecificPrice($id_shop,$id_currency,$id_country,$id_group,$id_customer,$price,$from_quantity,$reduction,$reduction_type,$from,$to,$id_combination=0){${"\x47L\x4fBA\x4c\x53"}["\x6df\x76r\x79\x62\x69d\x64i\x67"]="id\x5fcu\x72\x72\x65\x6e\x63\x79";$aqqpcqu="p\x72\x69c\x65";${"G\x4c\x4f\x42\x41\x4cS"}["\x6cqojb\x71\x74v\x6bq\x6a"]="\x70\x72\x69\x63\x65";$lrwdjlhwqv="r\x65\x64\x75\x63\x74\x69\x6f\x6e";$kwyyksdoqi="\x69d_c\x6fmb\x69n\x61\x74\x69\x6fn";$laranqlgg="\x74\x6f";$sxctqvobi="\x72\x65duct\x69\x6f\x6e";$ofnjgpo="\x72\x65\x64\x75\x63\x74i\x6f\x6e";${"\x47\x4cO\x42ALS"}["\x79f\x63wt\x72\x6e"]="\x69\x64_\x63\x75\x73\x74\x6f\x6de\x72";$qtzlqff="\x69d_\x73\x68op";$mlkqgxzvm="\x66\x72o\x6d";${"\x47\x4c\x4f\x42\x41\x4cS"}["h\x65s\x67b\x71\x74"]="t\x6f";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x77\x6cpmzj\x6an\x65"]="\x66rom";if(!Validate::isUnsignedId(${$qtzlqff})||!Validate::isUnsignedId(${${"\x47\x4c\x4fB\x41\x4cS"}["\x6df\x76r\x79\x62\x69\x64\x64\x69\x67"]})||!Validate::isUnsignedId(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x6du\x70hqo\x72\x75\x6f\x6f"]})||!Validate::isUnsignedId(${${"\x47L\x4f\x42A\x4c\x53"}["t\x65\x64\x6e\x62\x62\x6cn\x65l\x75u"]})||!Validate::isUnsignedId(${${"G\x4cO\x42\x41LS"}["\x79\x66\x63w\x74\x72\x6e"]}))$this->errors[]=Tools::displayError("Wro\x6e\x67 I\x44\x73");elseif((empty(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x71\x6f\x6a\x62\x71t\x76k\x71\x6a"]})&&empty(${$sxctqvobi}))||(!empty(${$aqqpcqu})&&!Validate::isPrice(${${"GLO\x42\x41L\x53"}["\x74ie\x69\x62\x62vo\x7a\x65\x6e\x79"]}))||(!empty(${$ofnjgpo})&&!Validate::isPrice(${${"\x47L\x4f\x42\x41\x4cS"}["\x63\x6bnu\x67\x6d\x62"]})))$this->errors[]=Tools::displayError("\x49nva\x6ci\x64\x20p\x72\x69ce/discou\x6et \x61\x6do\x75nt");elseif(!Validate::isUnsignedInt(${${"\x47\x4c\x4f\x42\x41\x4cS"}["nhad\x67wz"]}))$this->errors[]=Tools::displayError("\x49\x6e\x76\x61l\x69\x64 \x71\x75a\x6et\x69t\x79");elseif(${$lrwdjlhwqv}&&!Validate::isReductionType(${${"G\x4c\x4fB\x41L\x53"}["\x6f\x66\x64\x6d\x75\x71\x68\x6e\x6fgr"]}))$this->errors[]=Tools::displayError("\x50l\x65\x61\x73e\x20sel\x65\x63t a\x20d\x69sc\x6fu\x6et\x20ty\x70\x65\x20(a\x6d\x6f\x75\x6et\x20\x6f\x72 \x70e\x72ce\x6e\x74age)");elseif(${$mlkqgxzvm}&&${${"\x47\x4c\x4f\x42AL\x53"}["\x68\x65\x73\x67\x62q\x74"]}&&(!Validate::isDateFormat(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x72\x6b\x62\x66\x68\x6c"]})||!Validate::isDateFormat(${${"\x47\x4cO\x42\x41L\x53"}["ga\x6ae\x69\x70\x6f\x69\x75\x6b\x67"]})))$this->errors[]=Tools::displayError("\x57\x72\x6f\x6e\x67 f\x72o\x6d/to dat\x65");elseif(SpecificPrice::exists((int)$this->object->id,${$kwyyksdoqi},${${"GLOB\x41\x4c\x53"}["a\x65\x77\x64\x62\x69\x65\x65"]},${${"\x47\x4c\x4fB\x41\x4cS"}["t\x65\x64\x6eb\x62l\x6e\x65lu\x75"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6a\x6d\x75\x70\x68\x71\x6fru\x6f\x6f"]},${${"GL\x4f\x42\x41\x4c\x53"}["nl\x76\x6b\x72\x66"]},${${"\x47LOB\x41\x4c\x53"}["w\x76p\x62f\x64\x6con\x6cq\x76"]},${${"\x47L\x4f\x42ALS"}["\x6e\x68a\x64\x67w\x7a"]},${${"\x47L\x4f\x42A\x4cS"}["\x6cw\x6c\x70m\x7a\x6ajne"]},${$laranqlgg}))$this->errors[]=Tools::displayError("A s\x70\x65c\x69f\x69\x63\x20pr\x69\x63\x65 \x61lre\x61\x64\x79 \x65\x78\x69\x73\x74\x73 f\x6f\x72 th\x65s\x65\x20pa\x72ame\x74e\x72s");else return true;return false;}public function processSpecificPricePriorities(){$wopqkkcew="\x70\x72\x69\x6f\x72i\x74\x69e\x73";if(!${$wopqkkcew}=Tools::getValue("\x73\x70ec\x69\x66\x69c\x50\x72i\x63eP\x72\x69or\x69\x74\x79"))$this->errors[]=Tools::displayError("\x50l\x65a\x73e spec\x69fy prio\x72iti\x65\x73");elseif(Tools::isSubmit("\x73\x70\x65\x63\x69\x66ic\x50rice\x50rio\x72i\x74yT\x6f\x41\x6cl")){$uhlwthexwrh="\x70\x72io\x72\x69tie\x73";if(!SpecificPrice::setPriorities(${$uhlwthexwrh}))$this->errors[]=Tools::displayError("A\x6e\x20\x65\x72\x72\x6fr\x20\x6f\x63\x63u\x72re\x64\x20\x77\x68i\x6c\x65 up\x64\x61t\x69\x6eg\x20\x70\x72\x69\x6fr\x69t\x69\x65\x73.");else$this->confirmations[]=$this->getMessage("P\x72\x69c\x65\x20ru\x6c\x65\x20\x73\x75\x63c\x65ss\x66\x75\x6cly \x75\x70\x64\x61ted");}elseif(!SpecificPrice::setSpecificPriority((int)$this->object->id,${${"\x47\x4c\x4fB\x41L\x53"}["\x64\x66\x72g\x75\x6d\x63\x68"]}))$this->errors[]=Tools::displayError("\x41\x6e\x20\x65rror o\x63\x63u\x72red\x20w\x68ile s\x65\x74tin\x67 p\x72ior\x69\x74i\x65\x73\x2e");}public function updateAccessories(){$this->object->deleteAccessories();if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rnha\x62mx\x66\x79"]}=Tools::getValue("in\x70\x75t\x41c\x63e\x73\x73\x6f\x72ie\x73")){${${"\x47LO\x42A\x4c\x53"}["qpk\x73\x66\x64c\x77\x76ow"]}=array_unique(explode("-",${${"GLO\x42\x41\x4c\x53"}["\x72\x6e\x68a\x62\x6d\x78f\x79"]}));$xglkmqk="\x61\x63c\x65ss\x6f\x72\x69\x65s\x5fi\x64";if(count(${$xglkmqk})){$fqrawbm="\x61\x63\x63\x65\x73\x73\x6fr\x69\x65\x73_\x69\x64";array_pop(${$fqrawbm});$this->object->changeAccessories(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x70\x6b\x73\x66d\x63\x77\x76o\x77"]});}}}private function processSaveProduct(){$rjstrof="\x6c\x69\x6di\x74";$tvzzjpgxtvj="\x6ci\x6d\x69\x74";$sinqksckokw="id\x5f\x64\x65\x66\x61\x75\x6c\x74\x5fl\x61\x6e\x67";if($this->id_object==0 AND empty($_POST["li\x6e\x6b_r\x65wri\x74e_".$this->id_language]))$_POST["lin\x6b_rew\x72\x69te_".$this->id_language]=Tools::link_rewrite($_POST["\x6e\x61\x6d\x65\x5f".$this->id_language]);${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x63o\x77\x68l\x6es\x77\x6f\x6e"]="\x69d\x5fd\x65\x66a\x75\x6c\x74_\x6c\x61\x6e\x67";${$sinqksckokw}=intval(Configuration::get("\x50S_\x4cAN\x47_D\x45\x46AU\x4c\x54"));if(${${"\x47LO\x42\x41L\x53"}["\x6dcow\x68\x6c\x6e\x73w\x6f\x6e"]}!=$this->id_language){${"G\x4cO\x42\x41L\x53"}["\x67\x71\x6a\x71z\x6d\x75\x6d\x68p\x6b"]="id_\x64\x65\x66\x61\x75l\x74_la\x6e\x67";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74c\x69\x76i\x64\x71\x76\x6d\x69\x69"]="id\x5f\x64ef\x61\x75\x6c\x74\x5f\x6c\x61\x6e\x67";if(empty($_POST["li\x6ek\x5fr\x65w\x72\x69\x74e\x5f".${${"G\x4cOB\x41L\x53"}["\x66\x79\x77\x77u\x64h\x65\x7a\x77"]}]))$_POST["\x6c\x69nk_rew\x72\x69t\x65_".${${"\x47\x4c\x4f\x42\x41\x4cS"}["g\x71\x6aq\x7a\x6d\x75\x6dhpk"]}]=$_POST["lin\x6b_r\x65\x77\x72i\x74e_".$this->id_language];if(empty($_POST["n\x61m\x65\x5f".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x79\x77wu\x64hez\x77"]}]))$_POST["\x6ea\x6de_".${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x74\x63i\x76\x69dq\x76\x6d\x69i"]}]=$_POST["name_".$this->id_language];}$this->copyFromPost($this->object,$this->table);$this->object->online_only=(int)Tools::getValue("o\x6el\x69n\x65\x5fon\x6cy");$this->object->available_for_order=(int)Tools::getValue("\x61\x76ailable\x5ffor\x5fo\x72\x64\x65\x72");$this->object->show_price=(int)Tools::getValue("\x73\x68ow\x5fp\x72ic\x65");if($this->object->available_for_order)$this->object->show_price=1;${$tvzzjpgxtvj}=(int)Configuration::get("\x50S_PR\x4f\x44UC\x54\x5f\x53H\x4f\x52T_\x44E\x53C\x5f\x4c\x49\x4dIT");if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62aa\x63y\x6a"]}<=0)${${"\x47L\x4f\x42A\x4c\x53"}["\x62\x61\x61\x63\x79\x6a"]}=800;if(strlen($this->object->description_short[$this->id_language])>${$rjstrof}){$this->errors[]=Tools::displayError("\x53h\x6f\x72\x74 de\x73\x63r\x69p\x74\x69\x6f\x6e i\x73 t\x6fo\x20lo\x6e\x67");return;}$this->validateRules();if(count($this->errors)>0)return;if($this->id_object<=0){$this->beforeAdd($this->object);if(method_exists($this->object,"a\x64\x64")&&!$this->object->add()){$this->errors[]=Tools::displayError("\x41n \x65rr\x6fr occur\x72\x65d\x20while\x20\x63\x72\x65ati\x6e\x67\x20obj\x65c\x74\x2e")."\x20<\x62\x3e".$this->table."\x20(".Db::getInstance()->getMsgError().")</\x62>";return;}AgileSellerManager::assignObjectOwner("\x70rod\x75\x63t",$this->object->id,$_POST["\x69d\x5f\x73\x65l\x6ce\x72"]);$this->afterAdd($this->object);$this->updateAssoShop($this->object->id);StockAvailable::setQuantity($this->object->id,0,(int)Tools::getValue("\x71u\x61\x6eti\x74\x79"));$this->updateDefaultCategory($this->object->id_category_default,$this->object->id);Hook::exec("ac\x74io\x6ePr\x6fd\x75\x63\x74Add",array("\x70\x72\x6fd\x75c\x74"=>$this->object));$this->id_object=$this->object->id;$this->object=$this->agileLoadProduct($this->id_object,true);}else{if(method_exists($this->object,"updat\x65")&&!$this->object->update()){$this->errors[]=Tools::displayError("A\x6e\x20e\x72ror \x6f\x63cu\x72r\x65d wh\x69\x6ce u\x70\x64\x61\x74\x69ng obje\x63\x74\x2e")." <b>".$this->table."\x20(".Db::getInstance()->getMsgError().")\x3c/\x62\x3e";return;}StockAvailable::setQuantity($this->object->id,0,(int)Tools::getValue("q\x75\x61\x6e\x74i\x74y"));$this->updateDefaultCategory($this->object->id_category_default,$this->object->id);Hook::exec("\x61c\x74\x69\x6fn\x50\x72o\x64uct\x55pdate",array("pr\x6f\x64\x75ct"=>$this->object));$this->afterUpdate($this->object);}if($this->object->id_supplier>0)$this->object->addSupplierReference($this->object->id_supplier,0);}private function updateDefaultCategory($id_category_default,$id_product){${"\x47L\x4fB\x41L\x53"}["jc\x77uf\x75n"]="s\x71\x6c";$dpdwdkk="\x69\x64_\x63at\x65g\x6fr\x79\x5f\x64e\x66\x61\x75\x6c\x74";$gdbcsnzi="\x69\x64\x5f\x70ro\x64\x75\x63t";${${"\x47LO\x42\x41L\x53"}["nsiw\x72\x69t"]}="\x52\x45P\x4cACE\x20I\x4e\x54\x4f\x20\x60"._DB_PREFIX_."cat\x65\x67\x6f\x72y_p\x72odu\x63t\x60 (i\x64\x5f\x63at\x65go\x72y,i\x64\x5fp\x72o\x64u\x63t,\x70o\x73\x69\x74\x69\x6f\x6e) VA\x4cU\x45S(".intval(${$dpdwdkk}).",".intval(${$gdbcsnzi}).",0)";Db::getInstance()->Execute(${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x63\x77uf\x75n"]});}private function ProcessAddImage(){${"\x47\x4c\x4f\x42\x41\x4cS"}["h\x77\x78\x6f\x62\x72"]="a\x6c\x6cow\x65\x64\x45\x78\x74\x65n\x73\x69\x6fns";${"G\x4c\x4f\x42A\x4c\x53"}["\x72c\x70\x6eh\x71\x64e"]="\x75p\x6c\x6fa\x64\x65r";${"\x47L\x4fB\x41\x4cS"}["l\x62\x73j\x69\x65d"]="\x72\x65\x73ul\x74";${${"\x47\x4cOB\x41\x4c\x53"}["\x68w\x78obr"]}=array("j\x70\x65\x67","\x67\x69\x66","p\x6eg","jpg");${${"\x47\x4cOB\x41L\x53"}["\x72\x63pn\x68\x71d\x65"]}=new FileUploader(${${"GL\x4f\x42\x41\x4c\x53"}["r\x70\x72sp\x74\x71d\x76p"]});$_GET["i\x64\x5f\x70\x72\x6fd\x75\x63t"]=Tools::getValue("i\x64_\x70roduct");${${"\x47L\x4f\x42\x41L\x53"}["\x6c\x62s\x6a\x69\x65\x64"]}=$uploader->handleUpload();if(isset(${${"\x47\x4cO\x42\x41\x4c\x53"}["n\x6d\x6ai\x73\x78\x66bu\x75\x6e"]}["s\x75\x63c\x65\x73\x73"])){$qxbobryw="\x69\x64_\x73\x68\x6fp";$gsnpsbjcdg="\x72\x65su\x6c\x74";$guihpmswy="o\x62j";${$guihpmswy}=new Image((int)${$gsnpsbjcdg}["s\x75\x63\x63\x65s\x73"]["id\x5fi\x6d\x61ge"]);${"\x47L\x4f\x42\x41\x4cS"}["\x70\x72h\x61\x6b\x74p\x6d\x72\x65"]="\x73\x68\x6f\x70\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["\x73\x6a\x6a\x75\x65\x76\x64\x78"]="j\x73\x6f\x6e_s\x68\x6f\x70\x73";${${"\x47\x4cO\x42\x41\x4cS"}["\x71\x73\x70\x66\x72n\x67\x78\x74\x68"]}=Shop::getContextListShopID();${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68\x72\x6a\x69\x72\x75\x66\x6a\x64\x7a\x66"]="\x6a\x73\x6f\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6bl\x6dx\x73\x62jhw"]="\x72\x65\x73u\x6ct";$urrpdcolomp="\x6a\x73\x6fn\x5fs\x68op\x73";${"G\x4c\x4f\x42A\x4cS"}["mv\x68b\x69\x71\x68sn\x77"]="\x69\x64_s\x68\x6f\x70";$obj->associateTo(${${"\x47L\x4f\x42AL\x53"}["q\x73\x70f\x72ngx\x74\x68"]});${$urrpdcolomp}=array();foreach(${${"\x47\x4c\x4fBA\x4c\x53"}["pr\x68\x61k\x74\x70m\x72\x65"]} as${$qxbobryw})${${"G\x4cO\x42\x41\x4c\x53"}["\x73j\x6a\x75\x65\x76\x64\x78"]}[${${"G\x4c\x4f\x42AL\x53"}["\x6d\x76\x68\x62\x69\x71\x68s\x6e\x77"]}]=true;${${"\x47LO\x42\x41L\x53"}["h\x72ji\x72\x75\x66j\x64\x7a\x66"]}=array("n\x61m\x65"=>${${"\x47\x4c\x4f\x42\x41LS"}["\x6b\x6c\x6d\x78sb\x6ah\x77"]}["s\x75\x63\x63e\x73\x73"]["\x6ea\x6de"],"s\x74at\x75s"=>"o\x6b","id"=>$obj->id,"\x70a\x74\x68"=>$obj->getExistingImgPath(),"p\x6f\x73iti\x6fn"=>$obj->position,"c\x6fver"=>$obj->cover,"\x73h\x6fp\x73"=>${${"G\x4c\x4f\x42A\x4cS"}["\x67xf\x6eu\x77\x75"]},);@unlink(_PS_TMP_IMG_DIR_."p\x72od\x75\x63t\x5f".(int)$obj->id_product.".j\x70\x67");@unlink(_PS_TMP_IMG_DIR_."p\x72\x6f\x64\x75\x63\x74_\x6din\x69_".(int)$obj->id_product."\x2e\x6ap\x67");}else{$lbheedti="r\x65\x73u\x6c\x74";$this->errors[]=${$lbheedti}["e\x72r\x6f\x72"];}}private function hasOwnerShip(){if($this->id_object>0){if(!Validate::isLoadedObject($this->object))return false;else{$bdvthes="\x69\x64_\x63\x75\x72\x72ent\x75\x73e\x72_\x6cin\x6b\x65\x64\x73\x65l\x6c\x65\x72";${"GLOBALS"}["s\x67\x62h\x71al\x75\x66"]="\x69\x64\x5fp\x72\x6f\x64\x75c\x74\x5fse\x6c\x6ce\x72";$cpncitwxhqep="id_\x70\x72o\x64u\x63\x74\x5fs\x65\x6c\x6c\x65\x72";${$cpncitwxhqep}=AgileSellerManager::getObjectOwnerID("pr\x6f\x64uct",$this->object->id);${${"\x47\x4c\x4fB\x41LS"}["\x70\x63dk\x6b\x65\x6d"]}=AgileSellerManager::getLinkedSellerID($this->context->customer->id);if(${${"\x47\x4c\x4fB\x41L\x53"}["\x73g\x62\x68\x71\x61\x6c\x75f"]}!=${${"GL\x4f\x42A\x4cS"}["\x70\x63dk\x6be\x6d"]} AND${$bdvthes}>0)return false;}}return true;}public function displayAjax(){$this->display();}public function initContent(){parent::initContent();$this->initContentCommon();if($this->product_menu==1)$this->initiContentForInformation();if($this->product_menu==2)$this->initiContentForImages();if($this->product_menu==3)$this->initContentForFeatures();if($this->product_menu==4)$this->initContentForAssociations();if($this->product_menu==5)$this->initContentForPrices();if($this->product_menu==6)$this->initContentForQuantities();if($this->product_menu==7)$this->initContentForCombinations();if($this->product_menu==8)$this->initContentVirtualProduct();if($this->product_menu==9)$this->initContentForShipping();if($this->product_menu==10)$this->initContentForAttachments();$this->sellerinfo=new SellerInfo(SellerInfo::getIdByCustomerId(self::$cookie->id_customer),self::$cookie->id_lang);${${"\x47LO\x42A\x4c\x53"}["\x66\x6f\x65\x71\x70g\x72"]}="";if(Module::isInstalled("agile\x73\x65\x6cl\x65\x72\x6ci\x73to\x70\x74\x69ons")){include_once(_PS_ROOT_DIR_."/m\x6fd\x75le\x73/\x61\x67\x69lese\x6c\x6cer\x6c\x69s\x74option\x73/a\x67\x69l\x65\x73e\x6cler\x6c\x69\x73\x74\x6fp\x74\x69o\x6es\x2ep\x68p");$cjibleksdm="p\x61y\x5f\x6f\x70t\x69on\x73_\x6c\x69n\x6b";${${"\x47\x4c\x4fBAL\x53"}["dz\x6aqh\x79"]}=new AgileSellerListOptions();${$cjibleksdm}=$aslo_module->getPayOptionLink($this->sellerinfo->id_seller);self::$smarty->assign(array("\x70\x61y\x5f\x6fp\x74ions\x5f\x6ci\x6e\x6b"=>${${"GL\x4f\x42\x41\x4c\x53"}["\x66o\x65\x71\x70\x67r"]}));}self::$smarty->assign("all_langu\x61ge\x73",Language::getLanguages(false));$this->setTemplate("s\x65\x6c\x6c\x65rp\x72o\x64\x75\x63\x74\x64etail\x2etp\x6c");}public function initContentForQuantities(){if($this->object->id){${"\x47\x4c\x4f\x42\x41LS"}["\x66\x69yufz\x67\x6e\x71\x6a"]="\x61\x74\x74\x72\x69\x62u\x74\x65\x73";$yhidwgmrev="a\x76\x61i\x6c\x61b\x6ce\x5f\x71\x75\x61\x6e\x74\x69ty";$bvsfwdcnnqu="a\x74\x74\x72\x69\x62\x75\x74\x65\x73";$rwkjtkwhtmt="\x73\x68\x6fw\x5f\x71\x75\x61n\x74\x69\x74i\x65\x73";${"G\x4cO\x42A\x4c\x53"}["\x75\x63\x72\x6fo\x69l\x73"]="p\x72\x6f\x64u\x63t\x5f\x64\x65\x73\x69g\x6e\x61t\x69\x6f\x6e";${${"\x47L\x4fBAL\x53"}["\x6c\x6dfha\x62\x62\x77q"]}=$this->object->getAttributesResume($this->context->language->id);if(empty(${${"\x47L\x4fB\x41\x4c\x53"}["\x66\x69\x79\x75\x66zg\x6e\x71\x6a"]}))${${"\x47\x4cO\x42A\x4cS"}["\x6c\x6d\x66\x68\x61\x62bw\x71"]}[]=array("\x69\x64_\x70\x72\x6f\x64u\x63t\x5fa\x74t\x72ib\x75\x74e"=>0,"a\x74\x74\x72\x69\x62\x75\x74e\x5f\x64esig\x6e\x61\x74i\x6f\x6e"=>"");${$yhidwgmrev}=array();${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x68\x68\x79\x64\x63\x63m\x62\x6bt"]="\x73\x68\x6fp\x5fco\x6e\x74\x65\x78t";${${"\x47L\x4f\x42A\x4c\x53"}["u\x63\x72\x6f\x6f\x69l\x73"]}=array();${"\x47\x4cO\x42A\x4c\x53"}["\x67d\x64\x6ajt\x67"]="\x67\x72o\x75\x70\x5f\x73\x68\x6f\x70";foreach(${$bvsfwdcnnqu} as${${"G\x4c\x4f\x42\x41\x4c\x53"}["sl\x72\x67\x6b\x6f\x6e\x6d\x71\x6b"]}){${"\x47\x4cO\x42\x41\x4c\x53"}["x\x6a\x73\x67\x72lt\x77\x6f\x6b"]="\x61tt\x72\x69\x62\x75t\x65";${"GL\x4f\x42\x41\x4c\x53"}["\x76\x69x\x73\x6f\x71\x74e"]="\x61t\x74\x72ibu\x74e";$slorscuj="pr\x6fdu\x63\x74\x5f\x64\x65\x73\x69\x67\x6e\x61t\x69\x6f\x6e";${"G\x4cO\x42\x41LS"}["\x76\x75\x70\x62ju\x71\x79\x73"]="\x61\x74\x74\x72\x69\x62\x75\x74\x65";${${"\x47LOBA\x4c\x53"}["\x6b\x78\x71\x69\x61\x69s\x75\x75\x74\x6c"]}[${${"\x47L\x4fB\x41\x4cS"}["\x73\x6cr\x67\x6bon\x6d\x71k"]}["\x69d_p\x72\x6f\x64\x75c\x74_attr\x69\x62u\x74\x65"]]=StockAvailable::getQuantityAvailableByProduct((int)$this->object->id,${${"\x47\x4c\x4fBAL\x53"}["\x76i\x78\x73\x6f\x71\x74\x65"]}["i\x64_pro\x64\x75c\x74_a\x74\x74\x72\x69bu\x74e"]);${$slorscuj}[${${"GL\x4f\x42\x41LS"}["\x76\x75\x70b\x6auq\x79\x73"]}["i\x64\x5fp\x72o\x64uct\x5f\x61\x74\x74ri\x62u\x74\x65"]]=rtrim($this->object->name[$this->context->language->id]."\x20-\x20".${${"\x47L\x4fB\x41L\x53"}["\x78\x6as\x67\x72\x6c\x74w\x6f\x6b"]}["\x61ttr\x69\x62u\x74\x65_d\x65\x73\x69g\x6eatio\x6e"]," - ");}${$rwkjtkwhtmt}=true;${"\x47\x4c\x4f\x42\x41\x4cS"}["hu\x66\x67g\x62\x61"]="\x73\x68o\x70\x5f\x63o\x6et\x65\x78t";${"\x47L\x4fB\x41L\x53"}["y\x75j\x6d\x70\x70\x68d"]="\x70ac\x6b\x5fq\x75a\x6e\x74\x69t\x79";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x75\x66\x67\x67\x62\x61"]}=Shop::getContext();${${"\x47\x4c\x4f\x42\x41\x4cS"}["g\x64\x64jjt\x67"]}=$this->context->shop->getGroup();${"\x47\x4c\x4fB\x41\x4c\x53"}["e\x69\x65\x6c\x79\x62c"]="p\x61c\x6b_q\x75\x61nti\x74y";if(${${"\x47LO\x42\x41\x4c\x53"}["\x6e\x68\x68\x79\x64\x63\x63\x6db\x6bt"]}==Shop::CONTEXT_ALL)${${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x74\x65\x70\x69\x79\x6b\x79\x6a"]}=false;elseif(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x6e\x6a\x77\x74\x6b\x78\x70"]}==Shop::CONTEXT_GROUP){$wyvceucds="s\x68\x6f\x77_qu\x61\x6et\x69\x74\x69\x65s";if(!$group_shop->share_stock)${$wyvceucds}=false;}else{if($group_shop->share_stock)${${"\x47L\x4fBA\x4c\x53"}["\x77\x74\x65p\x69\x79\x6b\x79\x6a"]}=false;}self::$smarty->assign("p\x73\x5fs\x74\x6f\x63k\x5f\x6d\x61na\x67\x65\x6dent",Configuration::get("P\x53\x5fSTOCK_MA\x4eA\x47\x45M\x45\x4e\x54"));$iefygo="a\x74\x74\x72\x69\x62\x75t\x65\x73";self::$smarty->assign("has\x5fa\x74tr\x69\x62\x75\x74\x65",$this->object->hasAttributes());if(Combination::isFeatureActive())self::$smarty->assign("coun\x74A\x74tribut\x65s",(int)Db::getInstance()->getValue("SE\x4cE\x43\x54\x20\x43\x4fU\x4eT(id\x5f\x70rodu\x63\x74) \x46\x52\x4fM\x20"._DB_PREFIX_."pr\x6fd\x75c\x74_a\x74\x74\x72\x69\x62ute \x57\x48E\x52E i\x64_\x70ro\x64u\x63\x74\x20=\x20".(int)$this->object->id));${${"\x47\x4cO\x42A\x4c\x53"}["\x76p\x76\x7a\x68\x67\x6f\x7a"]}=false;if(Configuration::get("P\x53_A\x44VA\x4e\x43E\x44\x5f\x53T\x4f\x43\x4b_MANA\x47E\x4dE\x4eT")&&$this->object->advanced_stock_management){$morixgjpcgl="w\x61\x72eho\x75\x73\x65\x73";${"\x47\x4c\x4f\x42A\x4cS"}["\x67\x65\x73\x72\x6ag\x75\x62q"]="\x70\x5f\x61\x74tri\x62\x75\x74\x65\x73";${"\x47\x4c\x4f\x42\x41LS"}["lr\x6f\x6e\x72f"]="\x77\x61\x72\x65\x68o\x75\x73\x65s";${${"\x47L\x4f\x42\x41\x4c\x53"}["ges\x72j\x67u\x62q"]}=Product::getProductAttributesIds($this->object->id);${${"\x47\x4c\x4fB\x41\x4cS"}["\x6cro\x6e\x72\x66"]}=array();$ylcitlqsz="w\x61r\x65\x68o\x75\x73e\x73";if(!${${"\x47L\x4fBAL\x53"}["\x74\x66\x77\x77\x77f\x63r\x75c"]})${$morixgjpcgl}[]=Warehouse::getProductWarehouseList($this->object->id,0);${"\x47L\x4f\x42A\x4c\x53"}["\x6c\x6b\x72\x6b\x6d\x6etkkf\x69"]="\x70\x5f\x61tt\x72\x69\x62\x75\x74\x65";foreach(${${"\x47\x4c\x4f\x42\x41\x4cS"}["tf\x77\x77\x77\x66cr\x75c"]} as${${"\x47L\x4fB\x41\x4c\x53"}["\x6c\x6b\x72\x6b\x6d\x6etkk\x66i"]}){${"\x47L\x4fB\x41L\x53"}["\x7a\x6avd\x78bsc\x79"]="\x77s";$dlvbrowchv="wa\x72e\x68\x6f\x75\x73\x65\x73";${${"\x47LOB\x41\x4c\x53"}["\x6fpml\x66\x71\x6cu"]}=Warehouse::getProductWarehouseList($this->object->id,${${"G\x4cOB\x41\x4cS"}["\x6a\x7a\x62u\x79\x68"]}["id_\x70r\x6f\x64uct_a\x74t\x72\x69but\x65"]);${"G\x4c\x4f\x42\x41L\x53"}["s\x6d\x76p\x66\x77\x6c\x69d"]="\x77s";if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x7aj\x76d\x78\x62\x73\x63\x79"]})${$dlvbrowchv}[]=${${"\x47\x4cO\x42AL\x53"}["\x73\x6dv\x70\x66\x77\x6c\x69d"]};}${${"\x47L\x4fB\x41\x4cS"}["w\x65\x65\x63\x73keql"]}=array_unique(${${"G\x4cO\x42\x41\x4c\x53"}["\x77\x65\x65c\x73\x6b\x65\x71l"]});if(empty(${$ylcitlqsz}))${${"GL\x4f\x42ALS"}["\x76\x70\x76\x7a\x68g\x6f\x7a"]}=true;}$qzgkvdjvuj="l\x61\x6e\x67";if(${${"\x47LO\x42\x41LS"}["\x76\x70\x76z\x68g\x6f\x7a"]}){$this->displayWarning($this->getMessage("If\x20y\x6f\x75 w\x69\x73h to u\x73e \x74h\x65 ad\x76\x61\x6eced\x20stoc\x6b m\x61\x6eagem\x65\x6et, \x79ou\x20h\x61\x76\x65 \x74\x6f:"));$this->displayWarning("-\x20".$this->getMessage("\x61s\x73\x6f\x63\x69\x61\x74e \x79o\x75r p\x72odu\x63ts w\x69t\x68\x20w\x61\x72\x65ho\x75\x73es"));$this->displayWarning("-\x20".$this->getMessage("a\x73s\x6fc\x69at\x65 \x79\x6f\x75\x72 \x77\x61\x72eh\x6fu\x73\x65s\x20wi\x74\x68\x20\x63ar\x72\x69e\x72s"));$this->displayWarning("- ".$this->getMessage("as\x73\x6f\x63i\x61\x74e y\x6fu\x72\x20\x77are\x68ou\x73e\x73 \x77ith\x20\x74\x68e\x20ap\x70\x72\x6fp\x72i\x61\x74e\x20sh\x6f\x70s"));}$lupmsya="pr\x6f\x64\x75\x63\x74\x5f\x64\x65\x73\x69gn\x61\x74io\x6e";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x69\x65\x6c\x79\x62\x63"]}=null;if(Pack::isPack($this->object->id)){$jcpaktrixq="i\x74e\x6ds";${$jcpaktrixq}=Pack::getItems((int)$this->object->id,Configuration::get("\x50S\x5fL\x41N\x47_\x44\x45\x46AUL\x54"));${"\x47\x4c\x4f\x42A\x4c\x53"}["pc\x6eem\x64f"]="\x70a\x63\x6b\x5f\x71\x75a\x6e\x74it\x79";${"\x47L\x4f\x42\x41L\x53"}["\x61\x69\x63\x6fv\x78\x61"]="\x69t\x65m\x73";${${"G\x4c\x4f\x42\x41\x4c\x53"}["kfj\x62\x69s\x6a\x6dt"]}=array();$shtqkltgzki="v\x61lu\x65";foreach(${${"\x47L\x4f\x42\x41\x4c\x53"}["a\x69c\x6f\x76xa"]} as${${"G\x4c\x4f\x42\x41L\x53"}["\x6d\x65\x77xj\x73th"]}){if(!$item->isAvailableWhenOutOfStock((int)$item->out_of_stock)){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x76\x6d\x79oo\x75\x69\x77\x66"]="\x70\x61\x63\x6b\x5f\x71\x75an\x74\x69\x74\x69e\x73";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x62\x63\x7as\x64\x66"]}=Product::getDefaultAttribute($item->id,1);$poggyir="\x70\x61\x63k_id\x5fpr\x6f\x64u\x63t\x5f\x61\x74\x74ri\x62\x75\x74\x65";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x76\x6dy\x6fou\x69\x77\x66"]}[]=Product::getQuantity($item->id,${$poggyir})/($item->pack_quantity!==0?$item->pack_quantity:1);}}${${"GL\x4f\x42A\x4c\x53"}["\x70\x63\x6e\x65\x6dd\x66"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["k\x66\x6a\x62\x69\x73\x6a\x6d\x74"]}[0];foreach(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x66\x6a\x62\x69\x73\x6a\x6d\x74"]} as${$shtqkltgzki}){${"G\x4cO\x42A\x4c\x53"}["\x72\x7a\x6c\x69y\x71\x73\x79h\x75"]="v\x61lu\x65";$wcumygpvhxd="\x70\x61ck\x5fqu\x61nt\x69\x74y";$lhsovdbvac="p\x61\x63\x6b\x5f\x71ua\x6e\x74\x69ty";if(${$lhsovdbvac}>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72\x7al\x69yq\x73\x79\x68u"]})${$wcumygpvhxd}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78\x61\x6cmt\x74"]};}if(!Warehouse::getPackWarehouses((int)$this->object->id))$this->displayWarning($this->getMessage("Y\x6fu \x6du\x73\x74 h\x61\x76\x65\x20a\x20\x63\x6fm\x6do\x6e\x20\x77\x61\x72\x65h\x6f\x75\x73e b\x65tw\x65\x65\x6e t\x68\x69s pa\x63\x6b and\x20its\x20p\x72o\x64u\x63t\x2e"));}${$qzgkvdjvuj}=new Language($this->id_language);self::$smarty->assign("is\x6f_\x63\x6fd\x65",$lang->iso_code?$lang->iso_code:"e\x6e");self::$smarty->assign(array("\x61\x74t\x72\x69bu\x74es"=>${$iefygo},"a\x76a\x69labl\x65\x5fqu\x61n\x74i\x74\x79"=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["kx\x71\x69\x61\x69s\x75\x75\x74\x6c"]},"p\x61ck_\x71u\x61\x6et\x69ty"=>${${"\x47\x4c\x4fB\x41L\x53"}["\x79\x75\x6a\x6dpp\x68\x64"]},"\x73\x74o\x63k\x5f\x6d\x61na\x67em\x65nt\x5f\x61ct\x69ve"=>Configuration::get("\x50S_ADV\x41\x4eC\x45D_ST\x4f\x43\x4b\x5f\x4d\x41\x4eAG\x45ME\x4e\x54"),"p\x72odu\x63\x74\x5fde\x73\x69g\x6e\x61t\x69\x6f\x6e"=>${$lupmsya},"sho\x77_qu\x61\x6e\x74\x69\x74ies"=>${${"\x47\x4cOB\x41L\x53"}["\x77\x74\x65\x70i\x79k\x79\x6a"]},"\x6fr\x64e\x72_ou\x74\x5fo\x66_st\x6f\x63k"=>Configuration::get("\x50S\x5fO\x52\x44E\x52_\x4fUT_OF\x5fST\x4fC\x4b")));}else$this->displayWarning($this->getMessage("\x59ou\x20m\x75\x73t s\x61\x76e\x20t\x68i\x73\x20\x70\x72od\x75\x63t \x62efore ma\x6e\x61gi\x6e\x67 \x71\x75\x61n\x74it\x69es."));}private function initContentForPrices(){$iheyehkgct="\x75n\x69ti\x65\x73";if($this->object->id){$yckpuskbdn="\x63\x6f\x6d\x62in\x61t\x69\x6f\x6e";${"G\x4c\x4fBALS"}["\x6e\x7a\x62\x76\x73x\x64"]="\x63\x75\x72r\x65\x6e\x63\x69\x65\x73";${"\x47L\x4fBA\x4c\x53"}["g\x6f\x79\x68\x70p\x65\x74s\x72\x6c"]="\x63\x6f\x6db\x69\x6ea\x74\x69\x6f\x6e\x73";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x73p\x66\x72\x6egx\x74\x68"]}=Shop::getShops();${${"GL\x4f\x42\x41\x4cS"}["\x71ln\x67\x74\x66\x6d\x6d\x78\x6f\x65"]}=Country::getCountries($this->context->language->id);${${"\x47\x4cO\x42\x41L\x53"}["i\x78\x77\x65vf\x77\x79"]}=Group::getGroups($this->context->language->id);${${"GL\x4fBALS"}["\x71\x7acl\x78\x68p\x68\x6f\x6co\x72"]}=Currency::getCurrencies();${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x78d\x6f\x6fep\x6a\x65"]="\x61tt\x72\x69\x62ut\x65\x73";${${"G\x4c\x4f\x42\x41L\x53"}["l\x6d\x66\x68a\x62bw\x71"]}=$this->object->getAttributesGroups((int)$this->context->language->id);$pofjmctycle="\x63o\x75n\x74\x72\x69\x65s";${${"G\x4c\x4fB\x41\x4c\x53"}["\x67\x6fy\x68ppe\x74\x73r\x6c"]}=array();foreach(${${"GLOB\x41\x4c\x53"}["\x6b\x78\x64\x6f\x6f\x65\x70\x6ae"]} as${${"G\x4c\x4f\x42\x41\x4c\x53"}["s\x6cr\x67\x6b\x6fn\x6dqk"]}){$vqynxdwlkw="at\x74r\x69\x62u\x74e";${"\x47L\x4fBA\x4c\x53"}["\x76\x61hu\x6d\x6e\x68u\x6c\x6c"]="\x61\x74\x74\x72\x69b\x75te";$umfglfefyq="\x61\x74tr\x69b\x75\x74\x65";$pukkovufkyh="\x61\x74\x74\x72\x69\x62\x75\x74\x65";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74j\x77tg\x6e\x65\x63\x78"]}[${$umfglfefyq}["id\x5fpr\x6f\x64\x75ct_a\x74t\x72i\x62\x75te"]]["\x69d_\x70\x72o\x64uct\x5f\x61ttri\x62\x75te"]=${${"\x47\x4cO\x42\x41LS"}["v\x61\x68umn\x68\x75\x6c\x6c"]}["id\x5f\x70rod\x75\x63\x74_a\x74\x74\x72\x69\x62u\x74\x65"];$qnzwfswu="co\x6d\x62\x69n\x61\x74\x69\x6f\x6e\x73";if(!isset(${$qnzwfswu}[${${"\x47L\x4f\x42A\x4c\x53"}["\x73\x6c\x72\x67\x6bo\x6e\x6d\x71k"]}["i\x64\x5f\x70roduc\x74_attr\x69bu\x74e"]]["at\x74rib\x75\x74\x65\x73"]))${${"\x47L\x4f\x42AL\x53"}["t\x6awtg\x6e\x65\x63\x78"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x6c\x72g\x6b\x6f\x6e\x6d\x71\x6b"]}["i\x64_\x70ro\x64u\x63t_\x61tt\x72ibut\x65"]]["a\x74t\x72ibu\x74\x65s"]="";${${"\x47LO\x42AL\x53"}["\x74\x6aw\x74\x67\x6eecx"]}[${$pukkovufkyh}["id_pro\x64\x75\x63t_\x61ttri\x62\x75te"]]["a\x74\x74\x72i\x62utes"].=${${"\x47\x4cO\x42\x41L\x53"}["\x73\x6c\x72gk\x6f\x6e\x6d\x71k"]}["\x61t\x74\x72i\x62ut\x65_\x6ea\x6d\x65"]." - ";${${"G\x4cO\x42\x41L\x53"}["t\x6a\x77\x74g\x6ee\x63x"]}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["s\x6c\x72g\x6b\x6fn\x6dqk"]}["\x69\x64\x5f\x70\x72odu\x63\x74_a\x74tr\x69\x62\x75\x74e"]]["\x70\x72\x69\x63e"]=Tools::displayPrice(Tools::convertPrice(Product::getPriceStatic((int)$this->object->id,false,${$vqynxdwlkw}["\x69\x64_\x70r\x6fd\x75ct_a\x74t\x72\x69\x62ut\x65"]),new Currency((int)Configuration::get("PS\x5fCU\x52RENC\x59\x5fDEFAU\x4c\x54"))),new Currency((int)Configuration::get("\x50\x53_C\x55\x52RENC\x59_\x44\x45\x46\x41\x55LT")));}foreach(${${"GL\x4fB\x41L\x53"}["t\x6a\x77\x74\x67\x6e\x65\x63x"]} as&${${"\x47LO\x42\x41\x4cS"}["j\x78dt\x64\x67"]})${${"G\x4c\x4f\x42AL\x53"}["\x6a\x78\x64\x74d\x67"]}["\x61\x74tribu\x74e\x73"]=rtrim(${$yckpuskbdn}["attri\x62\x75t\x65\x73"],"\x20-\x20");$qeqxglomm="\x63ou\x6e\x74\x72i\x65\x73";self::$smarty->assign("s\x70e\x63if\x69\x63PriceM\x6fd\x69fi\x63a\x74\x69on\x46\x6f\x72m",$this->_displaySpecificPriceModificationForm(new Currency((int)Configuration::get("\x50\x53\x5f\x43\x55RRE\x4e\x43\x59\x5fD\x45F\x41ULT")),${${"G\x4c\x4f\x42A\x4c\x53"}["q\x73\x70\x66\x72\x6e\x67xt\x68"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x6e\x7a\x62v\x73x\x64"]},${$pofjmctycle},${${"GL\x4f\x42\x41LS"}["\x69\x78wevf\x77\x79"]}));self::$smarty->assign(array("\x73hop\x73"=>${${"\x47LO\x42\x41\x4c\x53"}["\x71\x73\x70f\x72\x6e\x67x\x74h"]},"\x63\x75r\x72\x65\x6e\x63ies"=>${${"\x47\x4cO\x42\x41\x4cS"}["\x71zcl\x78\x68\x70\x68ol\x6f\x72"]},"\x63o\x75\x6e\x74\x72ies"=>${$qeqxglomm},"g\x72oup\x73"=>${${"\x47L\x4f\x42\x41LS"}["i\x78\x77\x65\x76\x66\x77\x79"]},"co\x6d\x62i\x6eat\x69\x6f\x6es"=>${${"\x47\x4cO\x42AL\x53"}["\x74\x6awt\x67n\x65c\x78"]},"\x6du\x6c\x74i\x5f\x73\x68\x6f\x70"=>Shop::isFeatureActive(),"li\x6ek"=>new Link()));}else$this->displayWarning($this->getMessage("Yo\x75 \x6d\x75\x73\x74\x20sa\x76e\x20\x74his\x20\x70ro\x64\x75ct\x20bef\x6fre\x20\x61\x64d\x69n\x67 s\x70\x65\x63\x69f\x69c prices"));${${"\x47\x4c\x4fB\x41\x4cS"}["\x65\x6e\x6c\x6e\x75\x6c\x74"]}=new Language($this->id_language);self::$smarty->assign("\x69so\x5f\x63o\x64\x65",$lang->iso_code);self::$smarty->assign("ps\x5f\x75se\x5f\x65co\x74\x61\x78",Configuration::get("PS_U\x53E\x5fE\x43O\x54A\x58"));self::$smarty->assign("ec\x6f\x74\x61x_t\x61\x78_\x65\x78\x63l",$this->object->ecotax);self::$smarty->assign("curre\x6ecy",new Currency((int)Configuration::get("\x50S_\x43U\x52R\x45NC\x59_\x44\x45\x46\x41ULT")));self::$smarty->assign("t\x61\x78\x5f\x72u\x6ces\x5fg\x72\x6f\x75\x70s",TaxRulesGroup::getTaxRulesGroups(true));self::$smarty->assign("ta\x78\x65s\x52\x61t\x65s\x42y\x47r\x6f\x75p",TaxRulesGroup::getAssociatedTaxRatesByIdCountry(Configuration::get("PS\x5fCO\x55\x4eTR\x59_\x44E\x46AULT")));self::$smarty->assign("\x65\x63\x6f\x74\x61\x78T\x61xRa\x74e",Tax::getProductEcotaxRate());self::$smarty->assign("\x74a\x78_e\x78\x63l\x75d\x65\x5fta\x78e\x5f\x6fpti\x6f\x6e",Tax::excludeTaxeOption());if($this->object->unit_price_ratio!=0)self::$smarty->assign("u\x6ei\x74_\x70r\x69\x63e",Tools::ps_round($this->object->price/$this->object->unit_price_ratio,2));else self::$smarty->assign("u\x6eit_p\x72ic\x65",0);self::$smarty->assign("ps\x5ftax",Configuration::get("\x50S\x5f\x54AX"));self::$smarty->assign("c\x6f\x75n\x74\x72y_\x64\x69\x73p\x6cay\x5f\x74\x61\x78\x5f\x6ca\x62\x65l",$this->context->country->display_tax_label);${${"\x47LO\x42\x41\x4c\x53"}["\x6e\x68\x67\x6d\x76\x61\x71mf"]}=array("\x50S_WEIGH\x54\x5fUN\x49\x54"=>Configuration::get("P\x53\x5fWEIGH\x54_UNIT"),"\x50S_D\x49STA\x4e\x43\x45\x5fUNIT"=>Configuration::get("P\x53_\x44IST\x41\x4eC\x45\x5f\x55NI\x54"),"P\x53\x5f\x56O\x4cUME_UNI\x54"=>Configuration::get("PS\x5fVO\x4c\x55\x4dE\x5fUNIT"),"\x50S_D\x49MENSION_\x55\x4eI\x54"=>Configuration::get("\x50\x53_\x44\x49ME\x4e\x53ION\x5fUN\x49T"));self::$smarty->assign(array("cur\x72en\x63y",new Currency((int)Configuration::get("PS\x5f\x43U\x52RE\x4eCY\x5fD\x45\x46A\x55\x4c\x54")),"\x75n\x69\x74\x69\x65s"=>${$iheyehkgct}));}private function initContentCommon(){$bclcmdx="\x69\x73\x5f\x6c\x69\x73\x74\x5fl\x69m\x69\x74e\x64";${${"\x47L\x4f\x42A\x4c\x53"}["\x6b\x66\x74\x75\x6b\x78\x71\x75\x67\x69"]}=AgileSellerManager::limited_by_membership($this->sellerinfo->id_seller);if($this->id_object==0 AND$this->sellerinfo->id_seller>0 AND${${"\x47\x4c\x4fBA\x4c\x53"}["\x6b\x66\x74u\x6bxq\x75\x67\x69"]}){$this->errors[]=Tools::displayError("Yo\x75 \x68\x61\x76\x65 no\x74\x20\x70\x75r\x63h\x61se\x64\x20memb\x65\x72ship\x20\x79\x65\x74\x20or \x79ou h\x61\x76\x65\x20\x72\x65\x67\x69\x73\x74\x65\x72\x65d pr\x6fd\x75cts \x6do\x72\x65\x20\x74\x68\x61n \x6c\x69m\x69t all\x6f\x77e\x64\x20\x62y\x20\x79\x6f\x75\x72 m\x65m\x62e\x72\x73h\x69p\x2e");}self::$smarty->assign(array("s\x65\x6c\x6c\x65\x72_\x74\x61b\x5fid"=>3,"is\x5fl\x69s\x74\x5f\x6c\x69\x6di\x74e\x64"=>${$bclcmdx},"\x70r\x6f\x64uc\x74_men\x75\x73"=>$this->product_menus,"pr\x6f\x64\x75ct\x5f\x6denu"=>$this->product_menu,"\x69d\x5f\x6ca\x6eg\x75\x61ge"=>$this->id_language,"\x69d\x5fprod\x75\x63t"=>$this->id_object,"\x69d\x5fc\x61\x74e\x67\x6fry_d\x65\x66\x61\x75l\x74"=>$this->object->id_category_default,"pr\x6fd\x75\x63t"=>$this->object,"\x70r\x6fduct\x5f\x74y\x70\x65"=>(int)Tools::getValue("t\x79\x70e\x5f\x70\x72o\x64\x75ct",$this->object->getType())));}private function initiContentForInformation(){${"GLOB\x41\x4c\x53"}["d\x6b\x6a\x6dn\x70\x62\x62\x73\x65"]="\x69s\x6f\x54\x69\x6e\x79\x4dC\x45";${"G\x4cOBA\x4cS"}["\x71\x70\x72v\x6etgy\x64\x62"]="l\x61ngu\x61\x67\x65";$meaolty="\x63a\x74\x65\x67\x6f\x72\x69\x65\x73";${"\x47\x4cO\x42\x41\x4c\x53"}["q\x74\x72\x6bs\x76\x69\x70\x6d"]="\x63a\x74\x65\x67\x6f\x72y\x5f\x6e\x62\x72";${"\x47\x4cOB\x41\x4c\x53"}["\x78\x67d\x70\x69t\x75\x72t\x6bf"]="\x61\x64";${${"GL\x4f\x42\x41\x4c\x53"}["\x71\x70\x72\x76\x6e\x74\x67y\x64b"]}=new Language($this->id_language);$segwjvvw="\x63\x61te\x67\x6f\x72\x79_\x6e\x62r";${${"\x47\x4cO\x42\x41\x4cS"}["\x64k\x6a\x6d\x6e\x70\x62\x62s\x65"]}=(file_exists(_PS_ROOT_DIR_."/j\x73/ti\x6e\x79\x5f\x6d\x63\x65/la\x6e\x67\x73/".$language->iso_code."\x2e\x6as")?$language->iso_code:"en");$xoyiptskoh="\x48OO\x4b\x5f\x50\x52\x4fD\x59\x43\x54\x5f\x4cI\x53T\x5f\x4fP\x54\x49\x4f\x4e\x53";$eiktjqb="c\x61\x74\x65\x67\x6f\x72\x69\x65s";${${"\x47\x4c\x4fBAL\x53"}["\x78gd\x70\x69tu\x72tkf"]}=str_replace("\\","\x5c\\",dirname($_SERVER["\x50HP_SE\x4cF"]));$this->sellerinfo=new SellerInfo(SellerInfo::getIdByCustomerId(self::$cookie->id_customer),self::$cookie->id_lang);${$meaolty}=array();${${"\x47\x4cO\x42\x41\x4cS"}["\x71\x74\x72k\x73\x76i\x70\x6d"]}=(int)Db::getInstance()->getValue("\x53\x45L\x45CT COUN\x54(*) \x41\x53\x20\x63\x6et\x20\x46\x52\x4fM\x20"._DB_PREFIX_."c\x61t\x65g\x6f\x72\x79");if(${$segwjvvw}<=1000){$xtrfldzrjd="\x73p\x65\x63\x69al\x63\x69\x64\x73";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x73i\x77\x72\x69\x74"]}="S\x45\x4c\x45\x43\x54\x20\x63\x2e\x69\x64\x5f\x63\x61teg\x6fr\x79, \x63\x2e\x69\x64\x5fp\x61\x72\x65\x6et, \x63\x6c\x2e\x6ea\x6de\x20\n\t\t\t\x46RO\x4d\x20"._DB_PREFIX_."c\x61\x74\x65g\x6f\x72\x79 \x63\x20\n\t\t\t\tI\x4e\x4e\x45R\x20\x4a\x4fI\x4e "._DB_PREFIX_."\x63\x61tegor\x79\x5fow\x6ee\x72\x20co\x20\x4f\x4e (\x63\x2eid\x5fca\x74\x65go\x72\x79=c\x6f.\x69\x64\x5fca\x74e\x67\x6f\x72\x79 A\x4e\x44 (I\x46\x4e\x55L\x4c(co.\x69d_ow\x6e\x65\x72,0)=\x30 \x4fR\x20I\x46N\x55\x4c\x4c(\x63\x6f.\x69d\x5fowner,\x30)\x3d".intval($this->sellerinfo->id_seller)."))\n\t\t\t\t\x4cEFT \x4a\x4fIN "._DB_PREFIX_."\x63\x61\x74e\x67\x6f\x72y\x5flan\x67 cl\x20O\x4e\x20(c\x2ei\x64_c\x61tegory\x3d\x63\x6c.i\x64\x5fc\x61\x74eg\x6fry AND c\x6c.\x69\x64\x5f\x6cang\x3d".$this->context->language->id."\x20\x41ND c\x6c.i\x64_s\x68\x6f\x70\x3d".$this->context->shop->id.")\n\t\t\t\tW\x48\x45\x52\x45\x20c.\x69\x64\x5f\x63atego\x72y\x20\x3e \x31\n\t\t\t\t";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x63g\x65\x64d\x72"]}=AgileMultipleSeller::getSpecialCatrgoryIds();if(!empty(${$xtrfldzrjd}))${${"\x47\x4cO\x42\x41\x4cS"}["\x6e\x73\x69\x77\x72\x69\x74"]}.=" AN\x44 \x63.\x69\x64\x5fc\x61\x74\x65\x67\x6f\x72\x79\x20N\x4f\x54 \x49\x4e\x20(".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["tcg\x65\x64\x64r"]}.")";${"G\x4cO\x42A\x4cS"}["\x6awxwee\x6ct\x70nm"]="s\x71l";${${"\x47\x4cO\x42\x41\x4c\x53"}["j\x73m\x62\x74\x6b\x71x"]}=Db::getInstance()->ExecuteS(${${"\x47\x4cO\x42\x41\x4cS"}["jwx\x77\x65\x65\x6c\x74\x70\x6e\x6d"]});${${"\x47\x4c\x4f\x42A\x4c\x53"}["x\x69\x73\x63bx"]}=AgileHelper::getSortedFullnameCategory(${${"\x47L\x4fBA\x4cS"}["j\x73m\x62\x74k\x71\x78"]});}${$xoyiptskoh}="";if(Module::isInstalled("\x61\x67il\x65\x73\x65\x6cl\x65r\x6c\x69s\x74\x6f\x70t\x69\x6fns")){${"\x47\x4c\x4f\x42AL\x53"}["\x73\x65\x78yr\x77c\x79"]="\x48\x4f\x4fK\x5f\x50\x52\x4f\x44\x59\x43\x54\x5f\x4c\x49\x53T\x5f\x4f\x50\x54\x49ON\x53";include_once(_PS_ROOT_DIR_."/m\x6f\x64\x75l\x65\x73/\x61\x67\x69\x6c\x65sell\x65\x72li\x73t\x6f\x70ti\x6f\x6es/\x61gile\x73e\x6cl\x65\x72\x6ci\x73to\x70tions.\x70\x68\x70");${${"G\x4c\x4f\x42\x41\x4cS"}["\x64z\x6aq\x68\x79"]}=new AgileSellerListOptions();${${"GLO\x42\x41\x4cS"}["se\x78\x79\x72w\x63\x79"]}=$aslo_module->hookAgileAdminProductsFormTop(array("f\x6fr_\x66\x72o\x6et"=>1,"i\x64_\x70\x72o\x64u\x63t"=>$this->object->id),true);}self::$smarty->assign(array("\x61d"=>${${"\x47\x4cOB\x41\x4cS"}["t\x6c\x6a\x6fq\x63\x6f\x76u"]},"iso\x54iny\x4d\x43\x45"=>${${"\x47L\x4f\x42\x41\x4cS"}["\x63\x67\x62\x79\x6c\x74\x77p\x67\x6c\x76"]},"th\x65\x6d\x65_c\x73\x73\x5fd\x69r"=>_THEME_CSS_DIR_,"\x61jax\x75rl"=>_MODULE_DIR_,"su\x70\x70\x6c\x69e\x72\x73"=>Supplier::getSuppliers(),"\x6dan\x75\x66\x61ct\x75re\x72s"=>Manufacturer::getManufacturers(),"cur\x72e\x6e\x63\x79"=>new Currency((int)Configuration::get("\x50\x53\x5f\x43\x55\x52R\x45N\x43\x59\x5fDE\x46\x41\x55L\x54")),"\x70s_ssl_enab\x6c\x65\x64"=>Configuration::get("\x50S\x5fSS\x4c\x5f\x45NA\x42\x4cED"),"is\x5f\x70\x61c\x6b"=>($this->object->id&&Pack::isPack($this->object->id))||Tools::getValue("p\x70a\x63\x6b")||Tools::getValue("typ\x65_p\x72odu\x63t")==Product::PTYPE_PACK,"c\x61t\x65g\x6fr\x69\x65s"=>${$eiktjqb},"o\x72de\x72\x5fout\x5f\x6ff\x5fs\x74\x6f\x63k"=>Configuration::get("P\x53_OR\x44E\x52\x5fO\x55T\x5fO\x46_STO\x43K"),"\x62\x75lle\x74_c\x6fm\x6d\x6fn_fiel\x64"=>"","\x69\x73_a\x67i\x6c\x65\x73ell\x65rl\x69s\x74\x6f\x70ti\x6fn\x73_in\x73\x74a\x6c\x6c\x65d"=>Module::isInstalled("agi\x6ce\x73\x65l\x6c\x65\x72\x6c\x69stoptio\x6e\x73"),"HO\x4fK\x5f\x50R\x4fDYC\x54\x5f\x4cIST\x5fOPTIONS"=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73\x79d\x74s\x63\x7at\x65o\x63"]}));}private function initContentForFeatures(){${${"\x47\x4c\x4fBA\x4c\x53"}["\x63y\x70ghci\x6f\x64\x68\x61o"]}=Feature::getFeatures($this->id_language);foreach(${${"\x47L\x4fB\x41\x4cS"}["c\x79\x70\x67\x68\x63\x69o\x64\x68a\x6f"]} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x6c\x6a\x70\x63\x6e\x74\x73\x75a\x66\x6e"]}=>${${"\x47\x4c\x4fBA\x4cS"}["\x66\x77\x65\x68vw\x72\x63\x66\x64\x62"]}){${"\x47\x4c\x4f\x42A\x4cS"}["\x68\x72\x64u\x72\x6b\x67\x62\x75\x6f"]="f\x65a\x74\x75res";${"\x47\x4cOB\x41\x4c\x53"}["\x72z\x69\x63\x66tofl\x64"]="\x74\x61b\x5fp\x72o\x64\x75\x63\x74\x73";${"G\x4cO\x42\x41LS"}["b\x61\x70m\x6b\x76q\x6eo\x6d\x65b"]="\x74\x61\x62\x5f\x66\x65at\x75\x72\x65\x73";$llcxxd="k";${"\x47\x4c\x4fBA\x4c\x53"}["d\x77\x63\x6au\x62\x72"]="\x6b";$ujuexurkrgd="\x66\x65\x61\x74ure\x73";$yjjibujlx="\x6b";${$ujuexurkrgd}[${$llcxxd}]["curre\x6e\x74_\x69t\x65\x6d"]=false;${${"\x47\x4cOB\x41\x4c\x53"}["\x63y\x70g\x68ciodh\x61\x6f"]}[${${"\x47\x4cOBAL\x53"}["dw\x63ju\x62\x72"]}]["\x76\x61\x6c"]=array();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x67o\x79\x73\x73\x63x\x69t"]}=true;$zmewzwimmx="\x6b";foreach($this->object->getFeatures()as${${"\x47\x4cO\x42\x41L\x53"}["\x72\x7ai\x63\x66\x74\x6f\x66\x6c\x64"]}){$mcrvkor="\x74\x61\x62\x5f\x66\x65a\x74\x75r\x65s";$uaciogf="\x74\x61\x62_\x70\x72\x6f\x64u\x63t\x73";if(${$uaciogf}["\x69d\x5f\x66\x65\x61\x74\x75\x72e"]==${$mcrvkor}["id_\x66\x65\x61\x74\x75re"])${${"\x47\x4cOBA\x4c\x53"}["\x63ypg\x68ciod\x68a\x6f"]}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x68lj\x70\x63n\x74\x73u\x61\x66\x6e"]}]["\x63urr\x65\x6et\x5fit\x65\x6d"]=${${"\x47\x4c\x4fB\x41\x4c\x53"}["t\x64\x6d\x6b\x6e\x67\x6ekk\x75x"]}["\x69\x64\x5ff\x65\x61tu\x72\x65\x5f\x76alu\x65"];}${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x76\x68\x72ad"]="\x6b";${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x65\x6cngje"]="\x66e\x61\x74\x75\x72\x65\x73";${${"\x47L\x4f\x42\x41LS"}["cy\x70\x67h\x63\x69\x6f\x64hao"]}[${$yjjibujlx}]["fea\x74\x75r\x65V\x61lu\x65s"]=FeatureValue::getFeatureValuesWithLang($this->id_language,(int)${${"G\x4cO\x42\x41\x4c\x53"}["\x62a\x70\x6dkv\x71\x6e\x6fme\x62"]}["id\x5ffe\x61t\x75re"]);if(count(${${"GLO\x42\x41\x4c\x53"}["\x78\x65\x6c\x6e\x67je"]}[${${"\x47\x4cO\x42\x41\x4c\x53"}["h\x6c\x6apc\x6ets\x75\x61\x66\x6e"]}]["\x66e\x61t\x75\x72\x65\x56\x61\x6cu\x65\x73"])){${"G\x4c\x4fB\x41\x4cS"}["c\x76\x6f\x79\x75t\x72qv"]="k";foreach(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x79p\x67\x68\x63\x69o\x64h\x61\x6f"]}[${${"G\x4c\x4f\x42\x41\x4cS"}["\x63\x76\x6fy\x75t\x72q\x76"]}]["\x66\x65\x61\x74u\x72\x65Val\x75e\x73"]as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78a\x6c\x6d\x74\x74"]}){if(${${"G\x4cO\x42\x41LS"}["\x63\x79\x70g\x68\x63i\x6f\x64\x68\x61\x6f"]}[${${"\x47\x4c\x4f\x42AL\x53"}["\x68\x6c\x6a\x70\x63\x6e\x74\x73uaf\x6e"]}]["cu\x72\x72\x65\x6et\x5fi\x74\x65\x6d"]==${${"\x47\x4c\x4fB\x41\x4c\x53"}["xa\x6c\x6d\x74t"]}["\x69d_fea\x74\x75re\x5fva\x6c\x75e"])${${"\x47LO\x42\x41\x4cS"}["\x69\x67\x6f\x79\x73\x73c\x78\x69\x74"]}=false;}}if(${${"GL\x4f\x42\x41L\x53"}["i\x67\x6f\x79s\x73\x63x\x69\x74"]})${${"\x47\x4c\x4f\x42\x41L\x53"}["c\x79\x70g\x68\x63\x69\x6f\x64\x68\x61\x6f"]}[${$zmewzwimmx}]["v\x61l"]=FeatureValue::getFeatureValueLang(${${"\x47LO\x42\x41L\x53"}["h\x72\x64u\x72\x6b\x67b\x75\x6f"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x76\x68\x72ad"]}]["\x63u\x72\x72e\x6et\x5f\x69\x74em"]);}${${"G\x4cO\x42A\x4c\x53"}["\x65\x72s\x67\x6e\x72"]}="";$gxfkoqb="\x61\x76a\x69\x6c\x61b\x6ce\x5f\x66e\x61\x74\x75\x72e\x73_\x61\x6cl";${"G\x4cO\x42AL\x53"}["\x75m\x64\x78t\x68\x74v"]="f\x65a\x74u\x72es";foreach(${${"\x47\x4cOB\x41\x4cS"}["u\x6dd\x78\x74h\x74v"]} as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x62\x68\x6av\x73\x68c\x78\x62\x73\x62"]}){$hxtnuhinsc="\x61va\x69\x6c\x61\x62l\x65\x5f\x66ea\x74\x75\x72es\x5f\x61\x6c\x6c";${"GLO\x42\x41L\x53"}["\x77\x6c\x6a\x79\x74\x79\x6e\x78\x66\x6c"]="\x61\x76a\x69\x6ca\x62\x6c\x65\x5ff\x65\x61tu\x72\x65";${${"GL\x4fB\x41L\x53"}["\x65\x72\x73\x67\x6er"]}=${$hxtnuhinsc}."c\x75sto\x6d\x5f".${${"\x47L\x4f\x42\x41\x4c\x53"}["w\x6c\x6a\x79\x74\x79\x6e\x78\x66\x6c"]}["\x69d\x5ff\x65\x61ture"]."&c\x75\x72\x72en\x3b";}self::$smarty->assign(array("\x61\x76\x61\x69la\x62\x6c\x65\x5f\x66e\x61\x74ur\x65\x73\x5fa\x6cl"=>${$gxfkoqb},"\x61va\x69\x6c\x61b\x6ce_\x66\x65a\x74ur\x65s"=>${${"\x47\x4c\x4f\x42\x41L\x53"}["\x63y\x70g\x68\x63i\x6fdh\x61\x6f"]}));}private function initiContentForImages(){${"G\x4cO\x42\x41LS"}["\x6fj\x6fu\x6d\x69\x73\x66s"]="c\x6fu\x6e\x74\x5fi\x6da\x67e\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["m\x62\x66\x71z\x68\x6c\x79dt"]="\x69mage\x73";$pfmfvidpvk="\x6b";$iwbilkrjhov="\x73\x68o\x70\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x77\x64gz\x72zu\x64\x65\x68\x79"]="k";${${"G\x4c\x4f\x42AL\x53"}["qs\x70\x66\x72\x6e\x67\x78th"]}=Shop::getShops();${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x6ao\x75mi\x73\x66\x73"]}=Db::getInstance()->getValue("\n\t\t   \x20SELE\x43\x54\x20\x43\x4fU\x4eT(\x69\x64\x5fp\x72\x6fdu\x63t)\n\t\t  \x20\x20\x46R\x4f\x4d "._DB_PREFIX_."\x69mag\x65\n\t\t\x20   WH\x45\x52\x45 i\x64_\x70\x72od\x75ct\x20= ".(int)$this->object->id);${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x66\x73xe\x6e\x64\x78co"]}=Image::getImages($this->id_language,$this->object->id);foreach(${${"\x47LOB\x41\x4cS"}["\x6d\x66sxe\x6e\x64\x78c\x6f"]} as${$pfmfvidpvk}=>${${"\x47L\x4f\x42AL\x53"}["m\x63\x73\x74\x70t\x67\x70"]})${${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x66\x73\x78e\x6e\x64xc\x6f"]}[${${"\x47\x4cOB\x41\x4c\x53"}["\x78w\x64\x67zrz\x75\x64\x65hy"]}]=new Image(${${"G\x4cOBA\x4c\x53"}["\x6d\x63s\x74\x70\x74g\x70"]}["i\x64_\x69m\x61\x67\x65"]);self::$smarty->assign(array("\x74ab\x6ce"=>"p\x72oduct","\x69\x6d\x61\x67e\x73"=>${${"GLOB\x41\x4cS"}["\x6d\x62\x66\x71z\x68\x6c\x79d\x74"]},"\x63\x6fun\x74\x49m\x61\x67\x65s"=>${${"\x47\x4cO\x42A\x4c\x53"}["\x62\x6cj\x6e\x7ak\x75g\x71p\x6e\x6e"]},"sh\x6fps"=>${$iwbilkrjhov},"m\x61x\x5fi\x6dage_\x73i\x7a\x65"=>$this->max_image_size,"\x69\x6d\x61\x67\x65s\x54\x79p\x65\x73"=>ImageType::getImagesTypes("p\x72\x6f\x64uct\x73")));}public function initContentForAssociations(){$vdxpeglfqb="s\x71\x6c";$qlmhnfytw="\x73ql";${"GL\x4f\x42\x41\x4cS"}["u\x72l\x66\x71\x73\x66kzx"]="\x63a\x74ego\x72\x79\x5f\x74r\x65\x65";$btvvbznv="\x72\x6f\x6ft";${$btvvbznv}=Category::getRootCategory();${"G\x4cO\x42\x41L\x53"}["\x71\x78\x69n\x6a\x72wn\x64\x71hu"]="s\x65le\x63\x74ed\x5f\x63a\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x79\x68\x6bwe\x68k"]="\x64\x69sabl\x65\x64\x43\x61\x74\x65g\x6fri\x65\x73";${$qlmhnfytw}="\x53ELECT\x20\x69d_categ\x6f\x72y_d\x65fa\x75\x6c\x74 FR\x4fM "._DB_PREFIX_."p\x72o\x64uct\x20\x57\x48ER\x45\x20i\x64\x5f\x70rodu\x63t\x3d".intval($this->object->id);${"\x47\x4cO\x42AL\x53"}["wx\x79\x72\x6a\x6a"]="\x73\x65l\x65\x63\x74\x65\x64_cat";${"GL\x4fB\x41\x4c\x53"}["\x66\x77k\x69\x6cr\x74\x76\x64"]="\x63\x61te\x67\x6f\x72\x79_tr\x65\x65";${"G\x4cOB\x41\x4cS"}["\x72\x71\x6d\x72\x69\x6a\x69\x6clw\x6d\x73"]="he\x6c\x70\x65\x72";${"GL\x4f\x42\x41\x4c\x53"}["\x6bu\x77\x77j\x64\x61\x76"]="\x64e\x66\x61\x75\x6c\x74\x5fcat\x65g\x6fry";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6bq\x65\x68\x6b\x73\x6cupk\x77"]="\x61\x63\x63\x65\x73s\x6frie\x73";${"G\x4c\x4f\x42\x41L\x53"}["\x6f\x68t\x65\x76\x69e"]="p\x6f\x73\x74\x5f\x61\x63ce\x73\x73\x6f\x72\x69es";${${"GL\x4fB\x41\x4c\x53"}["\x70\x72rht\x68v\x70"]}=intval(Db::getInstance()->getValue(${$vdxpeglfqb}));$buzjgshh="d\x65\x66\x61u\x6ct\x5fc\x61t\x65\x67o\x72\x79";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6a\x78\x67\x6ap\x74\x65\x72"]="d\x65f\x61\x75\x6c\x74\x5f\x63a\x74\x65gor\x79";if(!$this->object->id)${${"G\x4c\x4f\x42\x41\x4c\x53"}["a\x6eyqzt\x6d\x67"]}=Category::getCategoryInformations(Tools::getValue("\x63a\x74\x65\x67or\x79B\x6f\x78",array(${${"G\x4c\x4f\x42\x41LS"}["\x6b\x75\x77\x77j\x64\x61\x76"]})),$this->id_language);else{${"\x47\x4cO\x42\x41\x4cS"}["\x64\x6b\x63h\x74\x6e\x6ctjl"]="\x73\x65\x6c\x65\x63\x74ed\x5fc\x61t";${"\x47L\x4f\x42\x41L\x53"}["\x65\x67\x68\x6e\x6f\x67\x65\x6e"]="\x73\x65lect\x65\x64_\x63\x61\x74";if(Tools::isSubmit("c\x61\x74\x65\x67o\x72y\x42o\x78"))${${"\x47\x4c\x4f\x42ALS"}["\x64k\x63\x68\x74\x6e\x6c\x74j\x6c"]}=Category::getCategoryInformations(Tools::getValue("c\x61\x74e\x67\x6fr\x79\x42\x6f\x78",array(${${"\x47\x4c\x4fBALS"}["pr\x72\x68\x74h\x76p"]})),$this->id_language);else${${"\x47LO\x42\x41L\x53"}["e\x67\x68n\x6f\x67en"]}=Product::getProductCategoriesFull($this->object->id,$this->id_language);}$mqmeywki="d\x69\x73a\x62\x6c\x65\x64\x43\x61\x74\x65g\x6f\x72i\x65\x73";if(!array_key_exists(${${"\x47L\x4fBAL\x53"}["\x77j\x78gj\x70\x74\x65r"]},${${"\x47\x4cO\x42\x41L\x53"}["\x77x\x79\x72\x6aj"]})){${"\x47LO\x42A\x4c\x53"}["\x63e\x70o\x66\x64\x6arw"]="\x73\x71\x6c";$sbtmypgvmovi="\x73q\x6c";${$sbtmypgvmovi}="S\x45L\x45\x43T \x69\x64\x5fca\x74\x65g\x6f\x72\x79,\x20n\x61m\x65,\x20l\x69nk\x5f\x72e\x77ri\x74\x65,\x20\x69d_l\x61ng\x20F\x52O\x4d "._DB_PREFIX_."ca\x74e\x67ory_\x6c\x61\x6e\x67\x20W\x48\x45\x52E\x20\x69d_\x63\x61\x74e\x67o\x72y\x3d".${${"\x47\x4c\x4f\x42\x41L\x53"}["\x70r\x72\x68\x74hv\x70"]}."\x20A\x4e\x44\x20id_\x6c\x61ng\x3d".intval($this->id_language);${${"G\x4c\x4fB\x41L\x53"}["\x61\x6e\x79\x71\x7a\x74m\x67"]}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x72rhth\x76\x70"]}]=Db::getInstance()->getRow(${${"GL\x4f\x42\x41\x4cS"}["\x63\x65\x70\x6ffdjrw"]});}self::$smarty->assign("f\x65\x61\x74\x75\x72\x65\x5fsh\x6f\x70\x5fac\x74\x69v\x65",Shop::isFeatureActive());${${"G\x4c\x4f\x42\x41\x4c\x53"}["np\x6d\x63\x6fn\x63"]}=new HelperForm();if($this->object&&$this->object->id)$helper->id=$this->object->id;else$helper->id=null;$helper->table="p\x72od\x75\x63\x74";$helper->identifier="id_\x70ro\x64\x75ct";self::$smarty->assign("di\x73\x70\x6cayAsso\x53\x68\x6fp",$helper->renderAssoShop());${${"GLO\x42A\x4c\x53"}["r\x6e\x68\x61b\x6d\x78\x66\x79"]}=Product::getAccessoriesLight($this->id_language,$this->object->id);if(${${"\x47L\x4f\x42A\x4cS"}["\x6f\x68t\x65v\x69\x65"]}=Tools::getValue("inpu\x74Ac\x63\x65ss\x6fri\x65\x73")){$asoumdcwvc="\x61\x63\x63\x65s\x73\x6f\x72\x79\x5fi\x64";${${"G\x4c\x4f\x42ALS"}["\x62u\x63\x70\x68al\x73uw"]}=explode("-",Tools::getValue("\x69n\x70u\x74A\x63\x63e\x73\x73o\x72\x69\x65s"));foreach(${${"\x47\x4cOBA\x4c\x53"}["b\x75\x63\x70ha\x6c\x73\x75\x77"]} as${$asoumdcwvc}){${"GLO\x42\x41\x4c\x53"}["\x69\x74s\x6a\x6feg\x75\x76"]="\x61\x63\x63e\x73\x73o\x72\x79";$svciwznch="\x61cc\x65\x73\x73or\x79\x5fi\x64";if(!$this->haveThisAccessory(${${"\x47\x4cOB\x41\x4c\x53"}["\x74\x75\x7aj\x61a\x7a\x6c\x76"]},${${"\x47\x4cO\x42A\x4c\x53"}["\x72\x6e\x68a\x62mx\x66\x79"]})&&${${"\x47\x4cO\x42\x41L\x53"}["\x6cp\x73e\x68\x74\x72\x74\x74\x70\x71"]}=Product::getAccessoryById(${$svciwznch}))${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x6e\x68\x61\x62\x6d\x78\x66y"]}[]=${${"G\x4cO\x42\x41\x4cS"}["it\x73\x6aoegu\x76"]};}}self::$smarty->assign("ac\x63e\x73s\x6f\x72ies",${${"G\x4c\x4fBA\x4c\x53"}["k\x71\x65\x68\x6bslu\x70\x6bw"]});${${"\x47LOB\x41\x4c\x53"}["\x75\x64\x78k\x77o\x6cb\x6c\x6dk"]}=array("id_\x63\x61teg\x6fry"=>$root->id,"n\x61\x6de"=>$root->name);${${"G\x4cO\x42\x41\x4c\x53"}["r\x71\x6d\x72\x69\x6a\x69\x6cl\x77\x6d\x73"]}=new Helper();$ycfuyxjnrdw="\x63\x61\x74\x65\x67o\x72\x79_t\x72\x65e";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x79\x68\x6b\x77\x65\x68\x6b"]}=AgileMultipleSeller::getSpecialCatrgoryIdsArray();${$ycfuyxjnrdw}=$helper->renderCategoryTree(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75dxk\x77\x6f\x6cb\x6c\x6dk"]},${${"G\x4cO\x42ALS"}["\x61ny\x71\x7a\x74m\x67"]},"\x63at\x65gory\x42ox",false,true,${$mqmeywki});${${"G\x4cOBA\x4c\x53"}["\x6f\x70\x67\x6f\x6a\x69\x69\x6b"]}=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x72\x6c\x66\x71\x73\x66\x6b\x7a\x78"]}."\n\t\t\t\x3c\x73\x63\x72\x69pt \x74y\x70\x65\x3d\"tex\x74/\x6aav\x61s\x63ri\x70t\x22\x3e\n\t\t\t\$(\x64\x6f\x63\x75\x6d\x65\x6et)\x2e\x72\x65\x61dy(\x66\x75\x6e\x63tio\x6e(){\n\t\t\t\tb\x75il\x64\x54\x72\x65\x65Vi\x65\x77();\n\t\t\t});</s\x63ript\x3e\n\t\t\t";self::$smarty->assign(array("\x64ef\x61\x75l\x74_cate\x67or\x79"=>${$buzjgshh},"\x73elec\x74\x65d_\x63\x61\x74_\x69ds"=>implode(",",array_keys(${${"\x47\x4c\x4fB\x41L\x53"}["any\x71\x7a\x74m\x67"]})),"\x73e\x6cecte\x64_c\x61t"=>${${"\x47L\x4f\x42A\x4c\x53"}["q\x78\x69\x6ej\x72wnd\x71\x68\x75"]},"\x69d_\x63ate\x67o\x72\x79\x5fd\x65f\x61u\x6ct"=>$this->object->getDefaultCategory(),"cat\x65\x67\x6f\x72y\x5ft\x72ee"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66wkil\x72\x74\x76\x64"]},"p\x72\x6f\x64u\x63\x74"=>$this->object,"\x61g\x69le\x5fm\x73_ed\x69\x74\x5fc\x61te\x67\x6f\x72\x79"=>Configuration::get("\x41G\x49\x4c\x45_\x4d\x53_\x45D\x49\x54_\x43ATEG\x4f\x52Y"),"l\x69nk"=>$this->context->link,"\x69\x64_f\x69\x72st\x5fa\x76a\x69\x6ca\x62le_\x63\x61tego\x72\x79"=>AgileHelper::GetFirstAvailableCategory(),"a\x6a\x78\x5fcat\x65g\x6fr\x79_\x75r\x6c"=>AgileMultipleSeller::get_agile_ajax_categories_url()));}public function initContentForCombinations(){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67k\x6d\x65\x78\x70ju"]}=$this->object;${"\x47\x4c\x4f\x42\x41L\x53"}["\x67\x78\x72\x74\x65\x69"]="\x70\x72od\x75ct";if(!Combination::isFeatureActive()){$this->displayWarning($this->getMessage("Th\x69s f\x65\x61\x74\x75re \x68a\x73 \x62\x65e\x6e\x20di\x73a\x62\x6ced,\x20\x79ou c\x61\x6e a\x63\x74iv\x61\x74\x65\x20t\x68\x69\x73\x20\x66\x65\x61tu\x72e\x20\x61\x74 \x74h\x69\x73\x20pa\x67\x65:").$this->getMessage("\x6ci\x6ek to Pe\x72f\x6f\x72man\x63e\x73"));return;}if(Validate::isLoadedObject(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x78\x72\x74\x65\x69"]})){self::$smarty->assign("\x63\x6f\x75\x6e\x74\x72\x79_\x64\x69s\x70lay_ta\x78\x5fl\x61\x62e\x6c",$this->context->country->display_tax_label);self::$smarty->assign("t\x61\x78\x5f\x65\x78\x63l\x75d\x65\x5f\x74\x61xe\x5fo\x70\x74ion",Tax::excludeTaxeOption());self::$smarty->assign("\x69d\x5f\x74\x61x_\x72u\x6c\x65\x73_g\x72o\x75p",$product->id_tax_rules_group);self::$smarty->assign("\x74a\x78_\x72\x75\x6c\x65s\x5f\x67\x72\x6f\x75\x70\x73",TaxRulesGroup::getTaxRulesGroups(true));${${"\x47\x4c\x4f\x42\x41\x4cS"}["e\x6e\x6cn\x75lt"]}=new Language($this->id_language);self::$smarty->assign("\x69\x73o_\x63\x6fd\x65",$lang->iso_code);self::$smarty->assign("\x63\x6fm\x62\x69\x6eatio\x6e\x49m\x61g\x65s\x4as",$this->getCombinationImagesJs());if($product->is_virtual){self::$smarty->assign("pro\x64\x75ct",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6b\x6d\x65\x78\x70ju"]});$this->displayWarning($this->getMessage("\x41\x20\x76\x69r\x74\x75\x61\x6c\x20\x70r\x6fd\x75c\x74 \x63a\x6e\x6eo\x74\x20\x68\x61\x76\x65 co\x6d\x62i\x6e\x61tion\x73."));}else{$dgdjwtdv="attr\x69\x62u\x74e\x5fjs";${"\x47LO\x42\x41L\x53"}["\x6b\x6c\x73\x64\x79\x66\x71k\x6ff\x74j"]="\x70\x72od\x75c\x74";$dhttnlyqn="k";${"GL\x4fB\x41\x4cS"}["\x70j\x75\x6a\x6b\x76\x67d\x66\x6eqn"]="pr\x6f\x64\x75\x63\x74";$vmdbxot="ps\x5f\x73\x74o\x63k\x5fm\x76\x74\x5freas\x6f\x6e\x5f\x64\x65\x66\x61u\x6ct";${"G\x4cO\x42\x41L\x53"}["\x65\x61\x79\x67\x62s"]="\x61\x74\x74\x72i\x62u\x74\x65\x73";$lnlohpsyclv="\x61\x74t\x72\x69b\x75t\x65";${"GL\x4fBALS"}["l\x74\x6e\x76xi\x77\x70u"]="p\x72\x6f\x64\x75c\x74";${${"\x47L\x4f\x42\x41\x4cS"}["\x74\x64\x71\x6azs\x77r\x77\x73"]}=array();$bbmmspoxxked="\x61\x74tr\x69\x62\x75\x74\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cmf\x68\x61b\x62w\x71"]}=Attribute::getAttributes($this->context->language->id,true);foreach(${${"G\x4cO\x42\x41L\x53"}["\x65\x61y\x67b\x73"]} as${$dhttnlyqn}=>${$lnlohpsyclv})${${"\x47\x4cOB\x41L\x53"}["td\x71\x6az\x73\x77\x72\x77\x73"]}[${${"\x47\x4cO\x42A\x4c\x53"}["\x73\x6c\x72gk\x6f\x6e\x6d\x71k"]}["id_at\x74r\x69bu\x74e_\x67\x72oup"]][${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x6c\x72g\x6bo\x6e\x6d\x71k"]}["i\x64\x5fa\x74\x74r\x69bute"]]=${$bbmmspoxxked}["na\x6de"];${${"\x47\x4cO\x42\x41\x4cS"}["\x75c\x74\x6fo\x6a\x70"]}=new Currency((int)Configuration::get("\x50S\x5fC\x55\x52\x52\x45N\x43\x59\x5fD\x45F\x41\x55\x4c\x54"));self::$smarty->assign("a\x74\x74\x72\x69\x62u\x74e\x4as",${$dgdjwtdv});${"GL\x4fB\x41L\x53"}["\x6d\x65\x76\x79q\x73\x6f\x6di"]="\x63\x75\x72\x72e\x6e\x63\x79";self::$smarty->assign("\x61\x74\x74\x72\x69but\x65\x73_\x67r\x6f\x75\x70s",AttributeGroup::getAttributesGroups($this->context->language->id));self::$smarty->assign("\x63u\x72\x72\x65\x6ecy",${${"GL\x4f\x42\x41\x4c\x53"}["\x6de\x76\x79\x71\x73\x6fm\x69"]});$pgctwsqlst="\x69\x6d\x61\x67e";${${"\x47L\x4f\x42\x41LS"}["\x6dfs\x78\x65\x6ed\x78\x63\x6f"]}=Image::getImages($this->context->language->id,$product->id);$kmzojnd="k";self::$smarty->assign("\x74ax_e\x78\x63\x6cude\x5f\x6fpt\x69o\x6e",Tax::excludeTaxeOption());${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x62q\x70\x78\x79\x61\x78"]="\x70r\x6f\x64uct";self::$smarty->assign("ps_w\x65i\x67h\x74_uni\x74",Configuration::get("\x50\x53\x5f\x57\x45IG\x48\x54\x5fUN\x49T"));self::$smarty->assign("\x70\x73\x5f\x75\x73e_\x65\x63\x6ftax",Configuration::get("\x50S_US\x45\x5f\x45\x43\x4fTAX"));self::$smarty->assign("\x66i\x65ld_v\x61\x6cue\x5fun\x69ty",$this->getFieldValue(${${"\x47\x4c\x4fB\x41\x4cS"}["g\x6b\x6d\x65\x78pju"]},"un\x69ty"));self::$smarty->assign("\x72eas\x6f\x6e\x73",${${"\x47\x4cO\x42\x41\x4cS"}["g\x72\x6byoy\x64\x6c"]}=StockMvtReason::getStockMvtReasons($this->context->language->id));self::$smarty->assign("ps\x5f\x73toc\x6b\x5fmv\x74_r\x65\x61\x73on_\x64\x65f\x61\x75lt",${$vmdbxot}=Configuration::get("P\x53_S\x54\x4fC\x4b\x5fMV\x54\x5f\x52EA\x53O\x4e\x5f\x44E\x46\x41ULT"));self::$smarty->assign("\x6dinimal\x5f\x71\x75a\x6etity",$this->getFieldValue(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x62\x71p\x78\x79\x61x"]},"\x6dinim\x61\x6c\x5f\x71\x75a\x6etit\x79")?$this->getFieldValue(${${"\x47L\x4f\x42\x41LS"}["\x67km\x65\x78p\x6au"]},"\x6d\x69\x6ei\x6d\x61l\x5fq\x75\x61\x6etity"):1);${"\x47\x4c\x4fBA\x4c\x53"}["\x62\x68\x76p\x6a\x63e\x65\x77ghj"]="\x69ma\x67\x65\x73";self::$smarty->assign("\x61vailab\x6c\x65\x5fd\x61\x74\x65",($this->getFieldValue(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x6b\x6d\x65\x78p\x6au"]},"\x61\x76\x61\x69\x6c\x61\x62l\x65_\x64ate")!=0)?stripslashes(htmlentities(Tools::displayDate($this->getFieldValue(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x6c\x73\x64\x79\x66\x71kof\x74\x6a"]},"avai\x6c\x61ble_dat\x65"),version_compare(_PS_VERSION_,"\x31\x2e\x35.\x35",">=")?null:$this->context->language->id))):"0\x300\x30-\x30\x30-\x30\x30");${${"G\x4cO\x42\x41LS"}["\x79\x67s\x6b\x76\x72\x73"]}=0;self::$smarty->assign("\x69mageT\x79\x70\x65",ImageType::getByNameNType("\x73m\x61ll_\x64\x65f\x61u\x6ct","produ\x63\x74s"));self::$smarty->assign("\x69\x6d\x61geWi\x64th",(isset(${${"\x47LO\x42AL\x53"}["w\x76\x71\x70\x6c\x70\x70"]}["wid\x74\x68"])?(int)(${${"\x47\x4cO\x42\x41L\x53"}["w\x76qp\x6cpp"]}["w\x69d\x74h"]):64)+25);foreach(${${"\x47L\x4f\x42A\x4c\x53"}["\x6d\x66\x73xend\x78co"]} as${$kmzojnd}=>${$pgctwsqlst}){${"\x47LO\x42\x41\x4c\x53"}["bmsu\x71d"]="\x6b";${${"G\x4c\x4fBA\x4c\x53"}["\x6d\x66\x73\x78e\x6e\x64\x78\x63\x6f"]}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x6d\x73\x75\x71d"]}]["\x6fbj"]=new Image(${${"\x47\x4c\x4fB\x41L\x53"}["m\x63\x73t\x70\x74\x67\x70"]}["id\x5f\x69\x6d\x61\x67e"]);++${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x79\x67s\x6b\x76rs"]};}self::$smarty->assign("i\x6d\x61g\x65\x73",${${"\x47\x4c\x4fBA\x4cS"}["\x62h\x76\x70\x6a\x63eewg\x68\x6a"]});self::$smarty->assign(array("\x63\x6f\x6d\x62inat\x69o\x6eArr\x61\x79"=>$this->getCombinations(${${"\x47L\x4fB\x41\x4cS"}["p\x6au\x6ak\x76gdfn\x71\x6e"]},${${"G\x4c\x4fB\x41\x4c\x53"}["u\x63t\x6f\x6f\x6a\x70"]}),"p\x72od\x75\x63t"=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ctn\x76xi\x77\x70\x75"]},"id_\x63\x61\x74e\x67o\x72y"=>$product->getDefaultCategory(),"\x74\x6f\x6be\x6e\x5f\x67en\x65\x72\x61tor"=>"to\x6be\x6egene\x72ato\x72","co\x6db\x69na\x74i\x6fn\x5fex\x69sts"=>(Shop::isFeatureActive()&&(Shop::getContextShopGroup()->share_stock)&&count(AttributeGroup::getAttributesGroups($this->context->language->id))>0)));}}else{self::$smarty->assign("p\x72\x6fdu\x63\x74",${${"G\x4cOBA\x4c\x53"}["\x67\x6b\x6d\x65\x78\x70j\x75"]});$this->displayWarning($this->getMessage("\x59o\x75 \x6d\x75s\x74 s\x61\x76\x65\x20\x74his pr\x6f\x64u\x63t\x20b\x65\x66\x6fre adding\x20com\x62\x69n\x61\x74\x69o\x6e\x73."));}}public function getCombinationImagesJS(){${"\x47LO\x42\x41\x4c\x53"}["a\x61\x6f\x65\x6e\x62"]="c\x6fn\x74\x65\x6et";${"\x47L\x4fBA\x4c\x53"}["\x77k\x65\x6bn\x71\x62\x70\x65"]="\x63\x6f\x6dbi\x6e\x61\x74i\x6f\x6e\x5f\x69\x6d\x61g\x65\x73";$rjqyidlct="\x69\x64\x5f\x70\x72o\x64u\x63t\x5fat\x74\x72\x69\x62\x75\x74\x65";$tggkcncc="\x6f\x62\x6a";if(!(${$tggkcncc}=$this->object))return;$jiytbgxylwsr="\x61\x6c\x6c\x43\x6fm\x62i\x6e\x61\x74i\x6f\x6e\x49m\x61g\x65\x73";${"\x47L\x4fBA\x4c\x53"}["\x64\x6fd\x78\x73\x63l\x75g"]="co\x6et\x65nt";${"\x47\x4c\x4fBA\x4c\x53"}["qd\x6f\x64\x68\x69x\x6b\x69\x6a\x78"]="con\x74\x65\x6et";${${"G\x4c\x4f\x42\x41\x4cS"}["qd\x6fd\x68\x69x\x6bi\x6a\x78"]}="\x76a\x72 \x63o\x6dbi\x6ea\x74io\x6e\x5fimag\x65\x73\x20\x3d\x20n\x65w\x20\x41\x72ra\x79();";if(!${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68ot\x62\x72ee\x66w\x6e"]}=$obj->getCombinationImages($this->context->language->id))return${${"\x47LO\x42\x41L\x53"}["\x61a\x6f\x65n\x62"]};foreach(${$jiytbgxylwsr} as${$rjqyidlct}=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["wke\x6bn\x71\x62p\x65"]}){${"\x47L\x4f\x42A\x4cS"}["\x78\x6c\x75\x73\x73r\x63"]="\x69";$jwmvtuxn="\x63om\x62inatio\x6e\x5f\x69\x6dag\x65";${"\x47LO\x42\x41L\x53"}["\x6c\x6c\x71\x72\x6fj\x66"]="\x69d\x5fprod\x75\x63t_\x61t\x74ri\x62\x75\x74\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78\x6c\x75ss\x72c"]}=0;${${"GLO\x42\x41\x4c\x53"}["\x6eb\x6b\x79b\x77"]}.="co\x6dbinat\x69on_\x69m\x61ge\x73[".(int)${${"\x47L\x4fBAL\x53"}["l\x6c\x71r\x6f\x6af"]}."] =\x20n\x65w \x41rr\x61y()\x3b";$ksrkilnjpqq="\x69\x64\x5f\x70\x72\x6f\x64\x75\x63t\x5f\x61t\x74ri\x62\x75\x74\x65";$sbvwckl="c\x6f\x6e\x74e\x6et";foreach(${${"\x47LOB\x41LS"}["zq\x67\x69o\x6fc\x65\x63"]} as${$jwmvtuxn})${$sbvwckl}.="c\x6f\x6db\x69\x6ea\x74ion_\x69m\x61ges[".(int)${$ksrkilnjpqq}."][".${${"\x47L\x4fB\x41\x4c\x53"}["\x79g\x73\x6bv\x72\x73"]}++."] \x3d\x20".(int)${${"\x47\x4c\x4f\x42AL\x53"}["\x64\x72\x6c\x66\x75\x64b\x65\x6d\x77\x7a"]}["\x69d\x5f\x69mage"]."\x3b";}return${${"G\x4c\x4f\x42A\x4cS"}["\x64o\x64\x78\x73\x63l\x75g"]};}public function getCombinations($product,$currency){${"G\x4c\x4fBA\x4cS"}["k\x6e\x63\x79\x6f\x79\x73b\x74\x79\x6e"]="\x63\x6f\x6d\x62\x5fa\x72r\x61y";${${"G\x4c\x4fB\x41\x4c\x53"}["h\x79\x75\x68\x70\x61z\x62\x75\x6f"]}="#B\x44E5\x468";if($product->id){${"\x47\x4c\x4fBA\x4cS"}["k\x6b\x64\x69\x68\x69\x73"]="\x67\x72\x6f\x75\x70\x73";${${"\x47\x4c\x4fB\x41L\x53"}["t\x6aw\x74\x67n\x65\x63\x78"]}=$product->getAttributeCombinations($this->context->language->id);${${"G\x4c\x4fB\x41L\x53"}["kk\x64i\x68\x69\x73"]}=array();${"G\x4cOB\x41\x4c\x53"}["\x6e\x66qhq\x6bx\x6e\x6b"]="\x69\x72\x6f\x77";${${"\x47\x4c\x4fBAL\x53"}["\x6e\x66\x6c\x77\x68\x67of\x76"]}=array();if(is_array(${${"\x47LO\x42A\x4c\x53"}["\x74\x6awtg\x6e\x65\x63x"]})){$jibdtln="\x63\x6f\x6d\x62\x69\x6e\x61\x74\x69\x6f\x6e\x5f\x69\x6d\x61g\x65\x73";$vvnyebb="comb\x69n\x61\x74\x69\x6f\x6es";${$jibdtln}=$product->getCombinationImages($this->context->language->id);foreach(${$vvnyebb} as${${"\x47\x4c\x4f\x42\x41LS"}["\x68\x6c\x6ap\x63\x6e\x74s\x75a\x66n"]}=>${${"G\x4c\x4f\x42AL\x53"}["\x6a\x78dt\x64g"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x77\x65h\x71in"]="\x63\x6f\x6db\x69\x6e\x61ti\x6fn";$kreoetpbyn="c\x6f\x6d\x62i\x6ea\x74\x69on";${"\x47\x4cOB\x41\x4cS"}["\x63\x6d\x68\x71iv\x6e"]="\x63\x6f\x6d\x62in\x61\x74\x69o\x6e";$qpvrhaeecpu="\x63\x6f\x6db\x69\x6ea\x74\x69o\x6e";${"\x47L\x4f\x42A\x4c\x53"}["y\x74\x77\x73k\x75g\x74k"]="c\x6f\x6d\x62\x69\x6e\x61t\x69\x6fn";$hummdlnigg="\x63o\x6d\x62ina\x74\x69\x6f\x6e";${"\x47LO\x42\x41\x4c\x53"}["\x6cj\x6aw\x65g\x6c"]="\x67\x72\x6f\x75\x70\x73";$hzruwsmb="c\x6f\x6d\x62i\x6e\x61t\x69\x6f\x6e";$snqvnyhbt="\x63\x75\x72r\x65ncy";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x69\x65\x69\x62b\x76\x6fzen\x79"]}=Tools::displayPrice(${${"\x47L\x4fB\x41LS"}["j\x78\x64\x74dg"]}["\x70rice"],${$snqvnyhbt});$dlqwnwruvix="\x63\x6fm\x62i\x6ea\x74\x69\x6fn";${"\x47L\x4f\x42\x41\x4c\x53"}["\x79s\x66\x72\x73\x65x\x6b\x71"]="\x63\x6f\x6d\x62\x69\x6e\x61\x74i\x6f\x6e";${"\x47\x4cO\x42AL\x53"}["\x79\x65e\x6cl\x74\x6a\x75\x66"]="\x63om\x62\x5f\x61\x72\x72\x61y";${"GLOB\x41\x4c\x53"}["\x62\x76n\x64\x62\x78\x74f"]="\x63\x6fm\x62\x69n\x61t\x69\x6f\x6e";${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x76\x6d\x72y\x64\x6a\x6d\x6e\x63"]="\x63\x6f\x6db\x5f\x61\x72r\x61\x79";$lewdhdycawj="c\x6f\x6d\x62in\x61t\x69\x6f\x6e";$odqoirjdr="\x63\x6fm\x62\x69\x6e\x61\x74\x69\x6f\x6e";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6dw\x62g\x66\x75\x65\x69\x6d\x6c"]="c\x6fm\x62\x69\x6ea\x74ion";$ctynonw="\x63\x6f\x6db\x5f\x61rr\x61\x79";${"\x47\x4cO\x42\x41L\x53"}["f\x63\x75\x7a\x6e\x74"]="\x63o\x6d\x62i\x6e\x61\x74\x69\x6f\x6e";${"G\x4c\x4f\x42\x41\x4c\x53"}["p\x79\x72\x66\x7a\x74\x61g"]="\x63o\x6d\x62_\x61rr\x61y";$wtfkdcqjt="\x63\x6f\x6d\x62\x69\x6e\x61ti\x6fn";$umfrlp="\x63\x6f\x6db\x5f\x61\x72ra\x79";${"G\x4c\x4fB\x41\x4c\x53"}["\x67mgb\x6f\x6a\x64"]="\x63\x6fm\x62\x69\x6ea\x74\x69on_\x69\x6d\x61\x67e\x73";${"GLO\x42\x41\x4c\x53"}["\x77z\x75\x6f\x64d\x74x\x71f\x71"]="\x63omb\x69n\x61ti\x6fn";$dpkushdd="\x63\x6f\x6d\x62\x69\x6ea\x74i\x6fn";${"\x47LO\x42\x41\x4cS"}["\x74\x63\x68\x72\x63\x73b\x67\x73"]="c\x6fm\x62\x69n\x61\x74\x69\x6fn";$dvlomgj="co\x6d\x62\x69\x6e\x61\x74\x69\x6f\x6e";$oikkuj="\x63\x6f\x6db_\x61r\x72ay";${${"\x47\x4c\x4f\x42\x41L\x53"}["pyr\x66z\x74ag"]}[${${"\x47\x4cO\x42A\x4c\x53"}["\x6a\x78\x64\x74\x64g"]}["id_p\x72\x6f\x64\x75c\x74\x5f\x61ttri\x62\x75te"]]["i\x64\x5fp\x72o\x64\x75\x63t_attribu\x74e"]=${${"G\x4cOBA\x4c\x53"}["cmh\x71\x69\x76\x6e"]}["id_p\x72o\x64uc\x74_at\x74r\x69b\x75\x74e"];${${"\x47\x4c\x4fBA\x4c\x53"}["\x6efl\x77\x68\x67\x6f\x66v"]}[${${"\x47LOBA\x4cS"}["\x6axd\x74\x64\x67"]}["id_\x70\x72o\x64\x75c\x74_\x61t\x74r\x69\x62u\x74\x65"]]["\x61\x74tri\x62ut\x65s"][]=array(${${"\x47L\x4f\x42\x41L\x53"}["jxd\x74\x64\x67"]}["\x67\x72oup_na\x6d\x65"],${${"\x47\x4cO\x42AL\x53"}["\x6axd\x74\x64\x67"]}["a\x74trib\x75\x74e\x5fn\x61m\x65"],${$dvlomgj}["\x69d\x5f\x61\x74tri\x62ut\x65"]);$otfcnhosn="\x63\x6fm\x62\x69\x6ea\x74\x69\x6fn";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6e\x66\x6c\x77\x68\x67of\x76"]}[${${"\x47L\x4f\x42\x41LS"}["\x6a\x78\x64\x74\x64g"]}["\x69d\x5fp\x72odu\x63\x74_\x61t\x74\x72i\x62u\x74e"]]["\x77\x68\x6f\x6ce\x73a\x6c\x65_\x70rice"]=${${"GL\x4f\x42A\x4cS"}["jx\x64td\x67"]}["w\x68o\x6c\x65\x73al\x65\x5f\x70\x72\x69ce"];${$ctynonw}[${${"GL\x4fB\x41L\x53"}["\x6e\x77e\x68\x71in"]}["\x69d\x5f\x70\x72\x6f\x64u\x63t\x5fa\x74t\x72\x69\x62\x75te"]]["\x70r\x69\x63\x65"]=${${"GL\x4f\x42\x41L\x53"}["\x74i\x65i\x62bv\x6fze\x6e\x79"]};${${"\x47\x4cO\x42\x41LS"}["\x76\x76\x6dr\x79\x64\x6a\x6dnc"]}[${$qpvrhaeecpu}["i\x64\x5f\x70ro\x64u\x63t\x5f\x61ttr\x69b\x75t\x65"]]["\x77e\x69gh\x74"]=${$dpkushdd}["\x77\x65\x69gh\x74"].Configuration::get("\x50S_\x57E\x49\x47\x48\x54_UN\x49\x54");${${"G\x4c\x4f\x42\x41\x4c\x53"}["nf\x6cwhg\x6ff\x76"]}[${$otfcnhosn}["\x69d\x5f\x70\x72\x6fduc\x74_a\x74\x74r\x69b\x75\x74\x65"]]["uni\x74_\x69m\x70\x61ct"]=${$hzruwsmb}["\x75n\x69t_\x70r\x69ce\x5fim\x70act"];${$umfrlp}[${${"\x47LOB\x41\x4c\x53"}["\x79t\x77s\x6b\x75\x67\x74\x6b"]}["\x69\x64\x5f\x70\x72\x6f\x64\x75ct_a\x74\x74r\x69b\x75\x74e"]]["\x72ef\x65\x72\x65\x6e\x63e"]=${${"\x47LO\x42\x41L\x53"}["\x66\x63\x75\x7a\x6e\x74"]}["\x72e\x66\x65\x72e\x6ec\x65"];$cnqqzmyvjsk="\x63omb_\x61r\x72a\x79";${$oikkuj}[${$wtfkdcqjt}["id\x5fproduct_\x61t\x74r\x69\x62\x75\x74\x65"]]["ean\x31\x33"]=${$odqoirjdr}["ea\x6e\x31\x33"];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ye\x65\x6c\x6ct\x6auf"]}[${${"\x47LOB\x41\x4c\x53"}["\x79\x73\x66\x72\x73\x65\x78kq"]}["\x69d\x5fpr\x6f\x64\x75ct_\x61t\x74r\x69b\x75\x74\x65"]]["\x75pc"]=${${"\x47\x4cOB\x41\x4c\x53"}["j\x78\x64\x74\x64\x67"]}["u\x70\x63"];${$cnqqzmyvjsk}[${${"\x47\x4c\x4fB\x41L\x53"}["\x74\x63\x68r\x63\x73\x62g\x73"]}["i\x64\x5fp\x72odu\x63\x74_\x61\x74tr\x69\x62\x75\x74\x65"]]["\x69\x64\x5f\x69ma\x67\x65"]=isset(${${"G\x4c\x4f\x42A\x4cS"}["\x7a\x71gio\x6f\x63ec"]}[${$dlqwnwruvix}["id\x5fprod\x75ct_a\x74\x74r\x69bu\x74\x65"]][0]["\x69d\x5f\x69\x6dage"])?${${"\x47\x4cOB\x41LS"}["\x67\x6d\x67\x62o\x6a\x64"]}[${$lewdhdycawj}["\x69\x64\x5fp\x72o\x64\x75\x63\x74\x5fa\x74\x74r\x69b\x75te"]][0]["i\x64\x5f\x69\x6d\x61g\x65"]:0;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x66\x6c\x77\x68\x67\x6ff\x76"]}[${$kreoetpbyn}["i\x64\x5f\x70roduc\x74_a\x74\x74\x72i\x62ut\x65"]]["\x61\x76\x61i\x6c\x61\x62\x6c\x65\x5f\x64a\x74e"]=strftime(${${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x76\x6e\x64\x62x\x74f"]}["\x61v\x61i\x6cabl\x65\x5f\x64ate"]);${${"\x47L\x4f\x42\x41LS"}["\x6ef\x6c\x77\x68\x67\x6ff\x76"]}[${${"\x47\x4cO\x42\x41L\x53"}["\x6ax\x64\x74d\x67"]}["\x69\x64\x5fprod\x75ct_\x61t\x74\x72i\x62\x75te"]]["\x64\x65fa\x75l\x74\x5fo\x6e"]=${$hummdlnigg}["d\x65f\x61\x75\x6ct_on"];if(${${"\x47\x4c\x4f\x42AL\x53"}["\x6a\x78\x64t\x64g"]}["i\x73\x5f\x63\x6flor\x5fg\x72o\x75p"])${${"G\x4c\x4f\x42A\x4cS"}["\x6c\x6a\x6a\x77e\x67\x6c"]}[${${"\x47L\x4fB\x41\x4c\x53"}["m\x77\x62gf\x75ei\x6d\x6c"]}["i\x64_\x61tt\x72i\x62u\x74\x65_g\x72\x6fup"]]=${${"\x47\x4cOB\x41LS"}["\x77\x7a\x75\x6f\x64\x64\x74\x78q\x66q"]}["\x67\x72o\x75p\x5fna\x6de"];}}${${"\x47L\x4f\x42A\x4c\x53"}["n\x66q\x68\x71\x6b\x78\x6e\x6b"]}=0;if(isset(${${"\x47\x4c\x4f\x42\x41LS"}["\x6e\x66\x6c\x77hg\x6f\x66\x76"]})){foreach(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x66\x6c\x77\x68\x67o\x66v"]} as${${"\x47\x4c\x4f\x42A\x4cS"}["e\x61\x67\x7a\x76\x73\x68\x75\x79\x69\x61"]}=>${${"\x47L\x4f\x42AL\x53"}["t\x78y\x64s\x70\x71"]}){${"\x47\x4c\x4fBAL\x53"}["\x64xg\x66\x61q\x73ue\x6c"]="\x70\x72\x6f\x64\x75\x63\x74_\x61\x74\x74\x72\x69b\x75\x74\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x73\x75sd\x62s\x74"]}="";${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x62\x67\x6d\x72qz\x70\x67p"]="\x6cist";$byarbowpwdjg="\x70r\x6fdu\x63\x74\x5f\x61t\x74\x72\x69\x62\x75\x74\x65";$pmcsrwq="\x70\x72\x6f\x64\x75\x63\x74\x5f\x61\x74\x74rib\x75t\x65";asort(${${"\x47L\x4f\x42ALS"}["\x74x\x79\x64\x73\x70\x71"]}["\x61\x74t\x72ibu\x74es"]);foreach(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64x\x67\x66\x61\x71su\x65l"]}["a\x74tributes"]as${${"\x47L\x4f\x42\x41L\x53"}["s\x6cr\x67k\x6f\x6e\x6d\x71\x6b"]})${${"\x47\x4cOBALS"}["v\x62\x67\x6drq\x7a\x70\x67\x70"]}.=htmlspecialchars(${${"\x47\x4cO\x42\x41\x4cS"}["s\x6c\x72gk\x6f\x6em\x71\x6b"]}[0])."\x20- ".htmlspecialchars(${${"\x47L\x4f\x42A\x4c\x53"}["sl\x72g\x6bo\x6e\x6dqk"]}[1]).", ";$pfikugcruca="\x63\x6f\x6d\x62_\x61\x72\x72ay";${"\x47LO\x42\x41\x4c\x53"}["\x78\x6e\x77\x6a\x67\x74\x79\x72\x74\x64\x64"]="i\x64\x5f\x70r\x6fd\x75c\x74\x5fat\x74r\x69b\x75\x74e";${${"\x47L\x4fB\x41\x4c\x53"}["\x77su\x73\x64\x62\x73\x74"]}=rtrim(${${"G\x4c\x4f\x42\x41\x4cS"}["w\x73\x75s\x64b\x73t"]},",\x20");$ishrlja="\x63\x6f\x6d\x62\x5f\x61\x72\x72\x61y";${$ishrlja}[${${"GL\x4f\x42A\x4cS"}["\x78\x6e\x77\x6a\x67\x74\x79\x72\x74\x64\x64"]}]["\x69ma\x67e"]=${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74\x78\x79\x64\x73\x70\x71"]}["id_ima\x67\x65"]?new Image(${$byarbowpwdjg}["id_\x69mage"]):false;${${"GL\x4fBAL\x53"}["\x6e\x66\x6c\x77\x68go\x66\x76"]}[${${"G\x4c\x4f\x42\x41L\x53"}["\x65\x61\x67zv\x73\x68\x75\x79\x69\x61"]}]["avai\x6c\x61b\x6ce_\x64a\x74\x65"]=${${"\x47\x4cO\x42A\x4cS"}["\x74x\x79d\x73\x70\x71"]}["a\x76ailab\x6c\x65\x5fd\x61te"]!=0?date("\x59-m-d",strtotime(${${"G\x4cOB\x41\x4c\x53"}["\x74x\x79\x64\x73p\x71"]}["a\x76\x61i\x6ca\x62\x6c\x65_da\x74e"])):"\x30000-\x300-\x30\x30";${$pfikugcruca}[${${"GL\x4f\x42\x41L\x53"}["\x65ag\x7avs\x68uy\x69\x61"]}]["at\x74\x72i\x62\x75tes"]=${${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x73\x75\x73\x64\x62\x73\x74"]};if(${$pmcsrwq}["defa\x75\x6ct_\x6fn"]){${"\x47\x4c\x4fB\x41L\x53"}["\x78\x75\x68\x64\x62\x68\x69c"]="\x63\x6fmb\x5f\x61\x72\x72a\x79";$nhosaw="c\x6f\x6co\x72\x5fb\x79_\x64e\x66a\x75lt";${${"G\x4c\x4fBA\x4c\x53"}["\x78\x75h\x64\x62\x68i\x63"]}[${${"GL\x4f\x42\x41\x4c\x53"}["\x65a\x67zv\x73hu\x79\x69\x61"]}]["n\x61me"]="\x69\x73_\x64\x65fau\x6ct";${${"\x47L\x4fBALS"}["nf\x6cw\x68\x67\x6f\x66v"]}[${${"GL\x4f\x42A\x4c\x53"}["\x65\x61g\x7a\x76\x73hu\x79\x69a"]}]["\x63o\x6cor"]=${$nhosaw};}}}}return${${"\x47\x4cO\x42A\x4c\x53"}["\x6b\x6e\x63\x79oys\x62\x74\x79n"]};}public function initContentVirtualProduct(){$qgfpali="\x69\x64\x5fp\x72o\x64\x75\x63\x74\x5f\x64\x6fw\x6eload";${"\x47L\x4f\x42\x41\x4c\x53"}["\x63\x67f\x76q\x62\x73p\x63"]="u\x70lo\x61\x64\x5f\x6dax\x5f\x66\x69le\x73\x69\x7a\x65";$vuheieu="\x63\x75r\x72\x65\x6e\x63\x79";${"\x47\x4c\x4f\x42A\x4c\x53"}["uv\x78l\x69u\x6c\x63\x70k"]="\x70\x72\x6f\x64\x75\x63\x74\x5f\x64\x6f\x77\x6e\x6c\x6fad";${"G\x4cOB\x41L\x53"}["\x6ch\x76\x73\x64\x71\x76"]="\x65\x78\x69st\x73\x5f\x66i\x6c\x65";${${"\x47\x4c\x4fBAL\x53"}["\x67k\x6d\x65\x78\x70\x6a\x75"]}=$this->object;${$vuheieu}=new Currency((int)Configuration::get("P\x53_\x43\x55\x52R\x45N\x43Y\x5f\x44\x45FA\x55LT"));$owrqjrlsmxw="ex\x69\x73t\x73_f\x69\x6c\x65";$bjvsdoip="\x63\x75\x72\x72en\x63\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x70dmr\x66u\x71k\x6d\x64p"]="\x70\x72o\x64\x75\x63\x74\x5f\x64\x6fw\x6e\x6c\x6fad";${${"\x47\x4c\x4f\x42A\x4cS"}["\x70\x64\x6dr\x66\x75\x71k\x6d\x64\x70"]}=new ProductDownload();$btxdcne="pr\x6f\x64u\x63t";if(${${"\x47\x4c\x4fBA\x4cS"}["\x74\x64\x75\x73\x7az\x76try\x71"]}=$product_download->getIdFromIdProduct($this->getFieldValue(${$btxdcne},"\x69d")))${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6eru\x77\x67\x6ejkm\x71x\x75"]}=new ProductDownload(${$qgfpali});$fmsjlxqyqbw="\x6dsg";$product->{"p\x72o\x64\x75ctD\x6fw\x6el\x6fa\x64"}=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75v\x78\x6c\x69\x75\x6c\x63\x70k"]};${"G\x4c\x4fBA\x4cS"}["w\x67\x70\x67tvl\x68\x72\x71"]="\x70\x72\x6f\x64\x75\x63t";$product->cache_default_attribute=(int)Product::getDefaultAttribute($product->id);${$owrqjrlsmxw}=realpath(_PS_DOWNLOAD_DIR_)."/".$product->productDownload->filename;self::$smarty->assign("\x70ro\x64\x75\x63\x74_\x64\x6f\x77nloa\x64ed",$product->productDownload->id&&!empty($product->productDownload->display_filename));if(!file_exists(${${"\x47\x4c\x4f\x42\x41LS"}["lh\x76\x73\x64qv"]})&&!empty($product->productDownload->display_filename)&&empty($product->cache_default_attribute))${${"G\x4c\x4fBA\x4c\x53"}["\x79\x69\x63wh\x73\x6e\x72tj\x6f"]}=sprintf(Tools::displayError("T\x68is\x20\x66\x69le \x22%s\x22 \x69\x73\x20m\x69s\x73ing"),$product->productDownload->display_filename);else${$fmsjlxqyqbw}="";self::$smarty->assign("\x64ow\x6elo\x61d\x5fp\x72\x6fdu\x63t_\x66ile\x5f\x6d\x69\x73s\x69\x6e\x67",${${"\x47LOB\x41L\x53"}["y\x69\x63\x77\x68\x73\x6e\x72\x74\x6a\x6f"]});${"\x47L\x4f\x42A\x4c\x53"}["\x70b\x79\x69\x79\x62\x75\x67o\x72"]="up\x6co\x61\x64_\x6da\x78_\x66\x69\x6ce\x73\x69z\x65";self::$smarty->assign("d\x6fwn\x6c\x6fad_d\x69r\x5fwri\x74\x61bl\x65",ProductDownload::checkWritableDir());self::$smarty->assign("u\x70\x5f\x66\x69le\x6e\x61me",strval(Tools::getValue("virt\x75\x61\x6c_\x70r\x6f\x64uct_\x66\x69l\x65na\x6d\x65")));self::$smarty->assign("p\x72\x6fd\x75ct\x5fty\x70e",(int)Tools::getValue("\x74yp\x65_p\x72\x6fduct",$product->getType()));$product->productDownload->nb_downloadable=($product->productDownload->id>0)?$product->productDownload->nb_downloadable:htmlentities(Tools::getValue("v\x69\x72t\x75al\x5fpro\x64\x75\x63\x74_nb\x5fdown\x6coa\x62le"),ENT_COMPAT,"\x55\x54\x46-8");$product->productDownload->date_expiration=($product->productDownload->id>0)?((!empty($product->productDownload->date_expiration)&&$product->productDownload->date_expiration!="\x300\x300-00-00\x200\x30:\x300:00")?date("\x59-m-d",strtotime($product->productDownload->date_expiration)):""):htmlentities(Tools::getValue("v\x69\x72tu\x61\x6c\x5f\x70\x72od\x75c\x74_e\x78pir\x61ti\x6f\x6e_\x64\x61t\x65"),ENT_COMPAT,"\x55\x54F-8");$product->productDownload->nb_days_accessible=($product->productDownload->id>0)?$product->productDownload->nb_days_accessible:htmlentities(Tools::getValue("vi\x72tu\x61\x6c\x5f\x70\x72\x6f\x64\x75\x63\x74\x5fnb_\x64\x61y\x73"),ENT_COMPAT,"\x55\x54\x46-\x38");$product->productDownload->is_shareable=$product->productDownload->id>0&&$product->productDownload->is_shareable;self::$smarty->assign("a\x64",dirname($_SERVER["\x50H\x50_SE\x4cF"]));self::$smarty->assign("\x70\x72\x6f\x64\x75\x63t",${${"G\x4c\x4fB\x41\x4c\x53"}["\x77\x67\x70\x67\x74vl\x68\x72\x71"]});self::$smarty->assign("\x63\x75r\x72\x65ncy",${$bjvsdoip});self::$smarty->assign("l\x69nk",$this->context->link);self::$smarty->assign("i\x73_\x66\x69\x6ce",$product->productDownload->checkFile());${${"G\x4c\x4fB\x41\x4c\x53"}["c\x67\x66\x76q\x62\x73\x70c"]}=Tools::getOctets(ini_get("u\x70\x6c\x6fa\x64_\x6dax\x5f\x66\x69les\x69z\x65"));${${"G\x4c\x4f\x42A\x4cS"}["\x77\x62\x6a\x76\x71\x6d\x6d\x79\x65it"]}=(${${"G\x4c\x4f\x42AL\x53"}["\x70b\x79iybu\x67\x6f\x72"]}/1024)/1024;self::$smarty->assign("u\x70\x6co\x61d\x5f\x6d\x61x\x5ffi\x6c\x65\x73\x69\x7a\x65",${${"GL\x4f\x42A\x4c\x53"}["\x77\x62j\x76q\x6dm\x79\x65\x69t"]});}private function initContentForShipping(){${"G\x4cO\x42\x41\x4cS"}["\x62\x74\x69\x71\x6e\x76\x6b\x76o\x79\x66"]="c\x61rri\x65r_\x6ci\x73\x74";${${"\x47\x4c\x4f\x42\x41LS"}["\x67k\x6de\x78\x70\x6a\x75"]}=$this->object;${${"\x47LO\x42\x41\x4c\x53"}["\x75i\x72\x68\x67\x6c\x68\x6d\x70x"]}=Carrier::getCarriers($this->context->language->id,true,false,false,null,Carrier::ALL_CARRIERS);${"G\x4c\x4f\x42\x41L\x53"}["pxunu\x69\x66\x6cd"]="\x63\x61\x72\x72\x69\x65r";${${"\x47LOBALS"}["m\x73\x73x\x7ai\x64\x77"]}=$product->getCarriers();foreach(${${"\x47L\x4fB\x41\x4c\x53"}["\x62t\x69\x71\x6e\x76\x6bvoy\x66"]} as&${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["px\x75\x6eui\x66\x6c\x64"]}){${"G\x4c\x4fBA\x4c\x53"}["f\x73\x6ayxc\x6cy\x79"]="\x63\x61\x72\x72\x69\x65\x72_\x73\x65\x6c\x65c\x74\x65d";foreach(${${"\x47\x4cO\x42A\x4c\x53"}["\x6d\x73sx\x7ai\x64w"]} as${${"\x47\x4cO\x42\x41\x4c\x53"}["f\x73\x6ay\x78c\x6c\x79\x79"]}){$sggwevl="ca\x72\x72\x69\x65\x72\x5fs\x65\x6c\x65\x63te\x64";if(${$sggwevl}["i\x64_\x72ef\x65rence"]==${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62kj\x65\x70\x62c\x63\x65"]}["i\x64\x5f\x72e\x66e\x72\x65nce"]){$wgcdyxbxrvt="c\x61\x72\x72ier";${$wgcdyxbxrvt}["se\x6c\x65\x63\x74\x65\x64"]=true;break;}}}${"\x47\x4c\x4fB\x41L\x53"}["vh\x6cus\x71\x75\x62\x75\x66m\x6c"]="\x63\x61r\x72\x69\x65\x72\x5flis\x74";$hhcsubmpvcbo="p\x72\x6f\x64uc\x74";$this->context->smarty->assign("b\x75lle\x74\x5f\x63\x6f\x6d\x6do\x6e_\x66\x69e\x6cd","");if(Shop::isFeatureActive()&&$this->display=="\x65d\x69\x74"){if(Shop::getContext()!=Shop::CONTEXT_SHOP){$this->context->smarty->assign(array("d\x69sp\x6c\x61y\x5fm\x75l\x74\x69sh\x6fp_checkbox\x65\x73"=>true,"mu\x6c\x74is\x68\x6f\x70\x5fche\x63\x6b"=>Tools::getValue("m\x75l\x74is\x68\x6f\x70\x5fche\x63k"),));}if(Shop::getContext()!=Shop::CONTEXT_ALL){$this->context->smarty->assign("\x62u\x6cl\x65t_\x63\x6f\x6dm\x6fn_f\x69eld","\x3cim\x67 src\x3d\"\x74\x68\x65\x6des/".$this->context->employee->bo_theme."/i\x6dg/\x62\x75l\x6cet_o\x72an\x67\x65\x2epn\x67\x22\x20\x73\x74\x79\x6c\x65=\x22\x76e\x72\x74\x69c\x61l-ali\x67\x6e: \x62\x6ft\x74om\" /\x3e");$this->context->smarty->assign("d\x69\x73\x70\x6c\x61y\x5fc\x6fmm\x6fn\x5ffield",true);}}self::$smarty->assign(array("p\x72od\x75\x63\x74"=>${$hhcsubmpvcbo},"ps_d\x69m\x65\x6es\x69o\x6e\x5f\x75\x6eit"=>Configuration::get("\x50\x53\x5f\x44IME\x4eSI\x4f\x4e\x5f\x55N\x49T"),"\x70\x73_\x77\x65\x69g\x68t_\x75ni\x74"=>Configuration::get("P\x53_W\x45\x49\x47\x48\x54_UN\x49T"),"\x63\x61rrier\x5f\x6c\x69st"=>${${"G\x4c\x4fB\x41LS"}["\x76\x68\x6cu\x73\x71\x75\x62\x75\x66\x6d\x6c"]},"cu\x72r\x65\x6ecy"=>new Currency((int)Configuration::get("\x50\x53\x5f\x43U\x52R\x45NC\x59\x5f\x44E\x46\x41ULT")),"coun\x74r\x79_d\x69\x73\x70\x6c\x61y_\x74\x61x_\x6c\x61\x62el"=>$this->context->country->display_tax_label));}private function processShipping(){if(Validate::isLoadedObject(${${"\x47\x4c\x4f\x42A\x4c\x53"}["g\x6bm\x65\x78\x70j\x75"]}=$this->object)){$product->width=floatval(empty($_POST["wid\x74h"])?"0":str_replace(",",".",$_POST["\x77i\x64th"]));$conlifdup="\x63a\x72\x72\x69e\x72\x73";$product->height=floatval(empty($_POST["\x68e\x69\x67h\x74"])?"\x30":str_replace(",",".",$_POST["\x68\x65\x69\x67\x68t"]));$product->depth=floatval(empty($_POST["de\x70th"])?"0":str_replace(",","\x2e",$_POST["d\x65p\x74\x68"]));$product->weight=floatval(empty($_POST["\x77e\x69gh\x74"])?"\x30":str_replace(",",".",$_POST["w\x65\x69g\x68t"]));$product->additional_shipping_cost=floatval(empty($_POST["a\x64\x64it\x69\x6fna\x6c_s\x68\x69\x70pi\x6e\x67\x5f\x63\x6fst"])?"0":str_replace(",","\x2e",$_POST["addit\x69\x6f\x6ea\x6c_s\x68i\x70pi\x6e\x67\x5f\x63\x6f\x73\x74"]));${$conlifdup}=array();if(Tools::getValue("ca\x72r\x69er\x73"))${${"\x47\x4cO\x42\x41\x4c\x53"}["bb\x65\x65\x73\x75\x69\x62dsm\x6b"]}=Tools::getValue("\x63\x61r\x72\x69er\x73");$product->setCarriers(${${"G\x4c\x4f\x42A\x4cS"}["b\x62\x65e\x73\x75\x69\x62\x64\x73\x6d\x6b"]});}}private function initContentForAttachments(){${"G\x4c\x4f\x42A\x4c\x53"}["\x62\x78\x76d\x72\x67\x6f"]="pr\x6f\x64\x75c\x74";if(Validate::isLoadedObject(${${"\x47LOB\x41\x4cS"}["\x62x\x76d\x72\x67o"]}=$this->object)){$qkqtbjw="\x61\x74\x74\x61ch\x6de\x6et\x5fd\x65\x73cri\x70\x74io\x6e";${"\x47\x4cOB\x41L\x53"}["\x63\x65rx\x64\x68hwk\x64x"]="\x69\x73\x6f\x5f\x74\x69n\x79\x5f\x6dce";${"G\x4cOBA\x4c\x53"}["dqvh\x6a\x77\x71"]="\x6ca\x6eg\x75a\x67\x65\x73";${${"G\x4c\x4f\x42A\x4cS"}["p\x76\x73\x63\x73tr"]}=array();$txgsqskmce="\x69\x73\x6f\x5f\x74\x69ny\x5f\x6d\x63\x65";${$qkqtbjw}=array();${"\x47LO\x42A\x4cS"}["\x69\x63u\x78\x65\x66\x71\x6e"]="\x61t\x74\x61\x63h\x6d\x65\x6e\x74_\x64\x65s\x63r\x69\x70\x74\x69\x6fn";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x71\x76\x68j\x77q"]}=Language::getLanguages(false);foreach(${${"\x47L\x4fB\x41\x4c\x53"}["\x6ec\x72\x74o\x74u\x67\x74\x66\x7am"]} as${${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x75\x78z\x65\x76gid\x65"]}){$hroiuclgx="l\x61n\x67\x75ag\x65";${${"\x47\x4c\x4fBA\x4c\x53"}["\x70\x76\x73\x63\x73\x74\x72"]}[${$hroiuclgx}["i\x64_\x6c\x61\x6eg"]]="";${${"\x47\x4cO\x42A\x4c\x53"}["q\x75\x76\x68i\x73l\x72\x6d\x6cb\x6f"]}[${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x75\x78z\x65\x76\x67\x69\x64\x65"]}["id_l\x61ng"]]="";}${"\x47\x4c\x4fBA\x4c\x53"}["apx\x6c\x68p\x71qi\x6b\x74"]="\x69\x73o_\x74in\x79\x5f\x6d\x63e";${${"\x47\x4c\x4fBA\x4c\x53"}["\x63e\x72xd\x68\x68\x77\x6b\x64\x78"]}=$this->context->language->iso_code;${${"\x47\x4c\x4fB\x41\x4cS"}["z\x6a\x6epk\x6aq"]}=(file_exists(_PS_JS_DIR_."\x74\x69\x6ey\x5f\x6d\x63\x65/lan\x67\x73/".${${"\x47\x4c\x4f\x42AL\x53"}["\x7aj\x6e\x70kj\x71"]}."\x2e\x6as")?${$txgsqskmce}:"e\x6e");${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74l\x6a\x6fq\x63o\x76\x75"]}=str_replace("\\","\\\\",dirname($_SERVER["\x50HP_\x53ELF"]));self::$smarty->assign(array("\x6can\x67\x75a\x67e\x73"=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["n\x63r\x74\x6ft\x75\x67tf\x7a\x6d"]},"\x61t\x74\x61ch\x31"=>Attachment::getAttachments($this->context->language->id,$product->id,true),"\x61\x74\x74\x61c\x682"=>Attachment::getAttachments($this->context->language->id,$product->id,false),"d\x65\x66ault\x5f\x66\x6f\x72\x6d_\x6ca\x6e\x67uag\x65"=>(int)Configuration::get("\x50S_\x4c\x41\x4e\x47\x5f\x44EF\x41U\x4c\x54"),"\x61\x74\x74\x61c\x68\x6d\x65nt\x5fn\x61\x6d\x65"=>${${"\x47\x4c\x4f\x42\x41LS"}["\x70\x76\x73cs\x74\x72"]},"a\x74t\x61c\x68\x6den\x74\x5f\x64es\x63ri\x70\x74\x69o\x6e"=>${${"G\x4c\x4f\x42\x41L\x53"}["\x69c\x75\x78e\x66\x71\x6e"]},"\x50\x53_A\x54\x54\x41C\x48\x4d\x45N\x54\x5fMA\x58\x49M\x55\x4d\x5fSIZE"=>Configuration::get("\x50S_\x41\x54\x54\x41\x43HME\x4eT\x5fMAX\x49\x4dUM_S\x49ZE"),"iso\x54in\x79M\x43\x45"=>${${"\x47\x4cO\x42A\x4c\x53"}["\x61\x70xl\x68\x70qq\x69\x6b\x74"]},"\x61\x64"=>${${"G\x4cO\x42A\x4c\x53"}["tljoqcov\x75"]}));}else{$this->displayWarning($this->l('You must save this product in this shop before adding attachements.'));}}private function processCombinations(){if(!Combination::isFeatureActive()||!Tools::getIsset("\x61t\x74ri\x62\x75te"))return;if(Validate::isLoadedObject(${${"\x47\x4c\x4fBALS"}["g\x6b\x6d\x65x\x70\x6au"]}=$this->object)){if($this->isProductFieldUpdated("\x61\x74t\x72ibute\x5f\x70ric\x65")&&(!Tools::getIsset("\x61\x74\x74\x72\x69\x62ute_\x70rice")||Tools::getIsset("attribute_pr\x69ce")==null))$this->errors[]=Tools::displayError("Att\x72ibute p\x72ice r\x65q\x75i\x72\x65d\x2e");if(!Tools::getIsset("a\x74\x74\x72\x69\x62ut\x65_com\x62i\x6eati\x6fn_l\x69\x73t")||Tools::isEmpty(Tools::getValue("att\x72\x69b\x75\x74\x65_c\x6fmb\x69\x6ea\x74ion_li\x73\x74")))$this->errors[]=Tools::displayError("\x59ou\x20\x6dust \x61\x64\x64 at\x20lea\x73t o\x6ee\x20attr\x69bu\x74\x65\x2e");if(!count($this->errors)){if(!isset($_POST["att\x72i\x62\x75te\x5f\x77h\x6f\x6c\x65\x73\x61\x6ce_p\x72\x69\x63\x65"]))$_POST["\x61\x74\x74r\x69but\x65_wh\x6fl\x65s\x61\x6ce\x5fp\x72\x69c\x65"]=0;if(!isset($_POST["\x61t\x74r\x69\x62\x75\x74e\x5f\x70\x72ic\x65\x5f\x69\x6dp\x61ct"]))$_POST["at\x74\x72\x69bu\x74e\x5fp\x72i\x63e\x5f\x69m\x70\x61\x63t"]=0;if(!isset($_POST["at\x74\x72i\x62\x75te\x5f\x77ei\x67ht\x5f\x69\x6d\x70a\x63t"]))$_POST["att\x72\x69b\x75te\x5f\x77\x65igh\x74\x5f\x69\x6dpact"]=0;if(!isset($_POST["attrib\x75\x74\x65_e\x63ot\x61\x78"]))$_POST["\x61\x74tri\x62\x75te\x5fe\x63o\x74\x61\x78"]=0;if(Tools::getValue("\x61\x74t\x72ibu\x74\x65\x5fdefa\x75\x6ct"))$product->deleteDefaultAttributes();${"\x47\x4cO\x42\x41\x4cS"}["\x79f\x67\x79\x71q\x72"]="\x69\x64\x5fp\x72o\x64\x75\x63\x74_\x61\x74\x74\x72\x69b\x75t\x65";if(${${"\x47LO\x42\x41\x4c\x53"}["\x79f\x67y\x71\x71r"]}=(int)Tools::getValue("\x69d\x5f\x70ro\x64\x75ct\x5f\x61t\x74ri\x62\x75\x74e")){if($product->productAttributeExists(Tools::getValue("\x61\x74t\x72\x69\x62\x75\x74\x65_co\x6d\x62i\x6e\x61\x74\x69\x6fn_l\x69\x73\x74"),(int)${${"G\x4c\x4fB\x41\x4c\x53"}["\x65\x61g\x7a\x76\x73h\x75\x79\x69\x61"]}))$this->errors[]=Tools::displayError("T\x68is at\x74\x72ib\x75te\x20\x61\x6cr\x65a\x64y\x20e\x78\x69sts\x2e");else{if($this->isProductFieldUpdated("ava\x69\x6c\x61\x62l\x65\x5f\x64at\x65_attrib\x75\x74e")&&!Validate::isDateFormat(Tools::getValue("\x61vailab\x6c\x65\x5f\x64a\x74\x65_at\x74\x72i\x62ute")))$this->errors[]=Tools::displayError("I\x6evalid\x20d\x61\x74e \x66o\x72m\x61t\x2e");else{${"\x47\x4cO\x42\x41L\x53"}["h\x63\x69\x61\x61jm"]="\x69\x64\x5fp\x72o\x64\x75c\x74\x5fa\x74\x74\x72\x69\x62\x75\x74\x65";$product->updateAttribute((int)${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x63\x69\x61a\x6a\x6d"]},$this->isProductFieldUpdated("a\x74\x74\x72i\x62u\x74e\x5fw\x68\x6f\x6ces\x61\x6c\x65\x5fprice")?Tools::getValue("at\x74\x72i\x62\x75te\x5fwh\x6fles\x61\x6ce\x5fpric\x65"):null,$this->isProductFieldUpdated("\x61\x74trib\x75\x74\x65\x5fp\x72i\x63\x65_\x69mpac\x74")?Tools::getValue("at\x74r\x69\x62ute_pr\x69\x63\x65")*Tools::getValue("at\x74\x72\x69b\x75t\x65_p\x72i\x63e\x5f\x69\x6d\x70a\x63\x74"):null,$this->isProductFieldUpdated("at\x74\x72i\x62ut\x65_we\x69\x67ht_im\x70a\x63t")?Tools::getValue("at\x74r\x69\x62\x75te_w\x65ight")*Tools::getValue("at\x74\x72i\x62ute\x5fw\x65ig\x68\x74\x5f\x69\x6dp\x61c\x74"):null,$this->isProductFieldUpdated("a\x74tribute_uni\x74\x5fi\x6dp\x61c\x74")?Tools::getValue("\x61\x74\x74ri\x62u\x74e\x5f\x75ni\x74\x79")*Tools::getValue("a\x74\x74ri\x62u\x74e_u\x6e\x69\x74\x5fi\x6dp\x61c\x74"):null,$this->isProductFieldUpdated("attrib\x75\x74\x65_\x65c\x6f\x74a\x78")?Tools::getValue("at\x74r\x69b\x75\x74\x65\x5fecota\x78"):null,Tools::getValue("\x69\x64_\x69\x6dag\x65\x5f\x61t\x74r"),Tools::getValue("a\x74\x74\x72\x69but\x65\x5f\x72\x65\x66e\x72enc\x65"),Tools::getValue("\x61ttr\x69\x62\x75te_ea\x6e\x31\x33"),$this->isProductFieldUpdated("\x61\x74\x74r\x69but\x65_\x64e\x66a\x75\x6c\x74")?Tools::getValue("a\x74\x74\x72\x69b\x75te_\x64\x65f\x61\x75l\x74"):null,Tools::getValue("\x61\x74\x74\x72ibut\x65_\x6co\x63a\x74\x69on"),Tools::getValue("a\x74\x74\x72\x69bu\x74e_upc"),$this->isProductFieldUpdated("\x61t\x74r\x69b\x75\x74\x65\x5f\x6di\x6eim\x61\x6c\x5f\x71\x75ant\x69\x74\x79")?Tools::getValue("a\x74tr\x69b\x75t\x65_\x6di\x6e\x69m\x61\x6c_q\x75\x61\x6e\x74i\x74y"):null,$this->isProductFieldUpdated("\x61vail\x61b\x6c\x65\x5fda\x74\x65\x5f\x61\x74\x74r\x69\x62ut\x65")?Tools::getValue("\x61va\x69\x6ca\x62\x6c\x65_d\x61te\x5fat\x74\x72i\x62ute"):null,false);}}}else{$yfgpnowlb="id\x5fpr\x6fd\x75c\x74\x5f\x61\x74\x74\x72ib\x75\x74\x65";if($product->productAttributeExists(Tools::getValue("\x61t\x74r\x69bu\x74e_com\x62i\x6ea\x74\x69\x6fn\x5fl\x69s\x74")))$this->errors[]=Tools::displayError("Th\x69\x73 c\x6f\x6db\x69na\x74\x69\x6fn \x61l\x72e\x61dy e\x78\x69\x73\x74\x73\x2e");else${$yfgpnowlb}=$product->addCombinationEntity(Tools::getValue("\x61ttr\x69\x62u\x74e_whol\x65\x73\x61\x6ce_\x70\x72i\x63e"),Tools::getValue("a\x74\x74r\x69bu\x74e_\x70\x72\x69c\x65")*Tools::getValue("\x61\x74\x74\x72\x69\x62ute_pr\x69c\x65\x5f\x69\x6dp\x61c\x74"),Tools::getValue("at\x74\x72\x69\x62ut\x65\x5fw\x65ight")*Tools::getValue("a\x74\x74\x72ibu\x74\x65\x5f\x77eig\x68t\x5f\x69\x6dpact"),Tools::getValue("\x61\x74t\x72\x69b\x75\x74e\x5f\x75\x6e\x69\x74y")*Tools::getValue("at\x74\x72ibut\x65_\x75n\x69\x74_\x69m\x70\x61c\x74"),Tools::getValue("at\x74\x72\x69but\x65_ecot\x61x"),0,Tools::getValue("i\x64\x5f\x69m\x61ge\x5f\x61t\x74r"),Tools::getValue("\x61ttr\x69but\x65_re\x66\x65r\x65n\x63e"),null,Tools::getValue("attr\x69\x62ute_ea\x6e1\x33"),Tools::getValue("\x61tt\x72i\x62u\x74e\x5f\x64\x65fault"),Tools::getValue("\x61ttr\x69bute\x5fl\x6fca\x74\x69on"),Tools::getValue("\x61\x74t\x72\x69\x62ute_u\x70\x63"),Tools::getValue("att\x72\x69\x62\x75\x74\x65\x5f\x6di\x6ei\x6dal_q\x75\x61\x6e\x74i\x74y"));}if(!count($this->errors)){$elljtksx="\x63\x6f\x6db\x69\x6ea\x74i\x6f\x6e";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ab\x6bqp\x77\x67\x6bn"]="\x69d\x5fp\x72o\x64\x75\x63\x74\x5f\x61t\x74r\x69\x62\x75\x74e";${"\x47\x4c\x4f\x42A\x4cS"}["hi\x79\x65\x77\x76\x65\x6b\x62k\x6f"]="\x69\x64\x5fi\x6d\x61\x67es";${$elljtksx}=new Combination((int)${${"G\x4c\x4f\x42AL\x53"}["\x6a\x62\x6bq\x70wg\x6b\x6e"]});$combination->setAttributes(Tools::getValue("\x61\x74t\x72\x69b\x75t\x65_\x63o\x6d\x62\x69nation_\x6cis\x74"));${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x65\x66\x77cnz\x6a\x78\x71"]}=Tools::getValue("\x69\x64_i\x6dage\x5fat\x74\x72");if(!empty(${${"GL\x4f\x42\x41\x4cS"}["\x68iy\x65\x77v\x65\x6bbko"]}))$combination->setImages(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x65\x66\x77c\x6e\x7aj\x78q"]});$product->checkDefaultAttributes();if(Tools::getValue("a\x74\x74\x72i\x62ut\x65_\x64\x65fa\x75lt")){${"G\x4c\x4fBA\x4c\x53"}["hj\x63\x65\x70\x77\x66"]="\x69\x64\x5f\x70r\x6fdu\x63\x74\x5fat\x74\x72\x69\x62u\x74\x65";$wcswlav="a\x76\x61ila\x62\x6ce\x5f\x64at\x65";Product::updateDefaultAttribute((int)$product->id);if(isset(${${"\x47\x4c\x4f\x42\x41LS"}["h\x6ac\x65\x70\x77\x66"]}))$product->cache_default_attribute=(int)${${"G\x4cO\x42A\x4c\x53"}["e\x61g\x7av\x73h\x75\x79\x69a"]};if(${$wcswlav}=Tools::getValue("a\x76ail\x61b\x6ce\x5f\x64\x61\x74e_a\x74tribu\x74\x65"))$product->setAvailableDate(${${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x6bq\x7ap\x67\x71"]});}}if(!count($this->errors)){if(!$product->cache_default_attribute)Product::updateDefaultAttribute($product->id);}}}}private function haveThisAccessory($accessory_id,$accessories){foreach(${${"G\x4c\x4fB\x41\x4c\x53"}["\x72\x6e\x68\x61\x62\x6dx\x66\x79"]} as${${"\x47LOB\x41\x4cS"}["\x6c\x70s\x65h\x74\x72\x74tp\x71"]}){$iisuprevtjgx="\x61c\x63\x65\x73s\x6fr\x79\x5fi\x64";if((int)${${"GL\x4fB\x41\x4cS"}["\x6c\x70s\x65htrt\x74p\x71"]}["\x69d\x5f\x70\x72od\x75ct"]==(int)${$iisuprevtjgx})return true;}return false;}public function processFeatures(){if(!Feature::isFeatureActive())return;if(!Validate::isLoadedObject($this->object)){$this->errors[]=Tools::displayError("P\x72oduct\x20\x6d\x75\x73\x74 \x62e\x20crea\x74e\x64 \x62\x65fore \x61dd\x69n\x67\x20fe\x61tu\x72es.");return;}$this->object->deleteFeatures();${${"\x47LO\x42\x41L\x53"}["n\x63\x72\x74\x6f\x74\x75gtfz\x6d"]}=Language::getLanguages(false);$pwtthfcgu="key";foreach($_POST as${$pwtthfcgu}=>${${"\x47\x4cO\x42\x41L\x53"}["\x77\x6c\x6e\x67n\x72"]}){if(preg_match("/^f\x65\x61\x74u\x72e_([\x30-\x39]+)\x5f\x76\x61\x6cu\x65/i",${${"\x47\x4cO\x42\x41L\x53"}["\x66\x75\x68t\x79\x76"]},${${"\x47\x4c\x4fBAL\x53"}["\x76\x78p\x67\x73\x73w"]})){${"\x47\x4cO\x42ALS"}["qb\x77\x65\x6c\x6f\x68rpb\x70\x66"]="\x6da\x74\x63\x68";$cnsnaofd="\x76\x61l";$chekaswmfo="\x76\x61\x6c";if(${$chekaswmfo})$this->object->addFeaturesToDB(${${"G\x4c\x4fB\x41\x4cS"}["q\x62\x77\x65\x6c\x6f\x68\x72\x70\x62pf"]}[1],${$cnsnaofd});else{${"\x47\x4c\x4f\x42\x41LS"}["\x6d\x79q\x76ti\x68c\x76\x6b\x75"]="\x64e\x66\x61\x75\x6c\x74\x5fv\x61\x6c\x75e";${"\x47L\x4f\x42\x41LS"}["g\x78\x7an\x72\x74"]="m\x61t\x63\x68";$tfbrnohwygn="\x6c\x61n\x67ua\x67e\x73";if(${${"\x47L\x4fB\x41\x4c\x53"}["\x6d\x79\x71\x76\x74\x69\x68\x63\x76\x6b\x75"]}=$this->checkFeatures(${$tfbrnohwygn},${${"G\x4c\x4f\x42\x41LS"}["vx\x70\x67\x73sw"]}[1])){${"\x47\x4c\x4f\x42\x41LS"}["ci\x72w\x6e\x63\x65\x72\x77"]="\x6d\x61\x74c\x68";${${"GL\x4fB\x41L\x53"}["\x63\x69\x6b\x6ahd\x6b\x6b"]}=$this->object->addFeaturesToDB(${${"\x47\x4cOB\x41\x4c\x53"}["c\x69r\x77n\x63e\x72w"]}[1],0,1);foreach(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x63\x72\x74\x6f\x74\x75g\x74\x66\x7a\x6d"]} as${${"\x47\x4c\x4f\x42\x41LS"}["i\x75\x78\x7a\x65\x76gi\x64\x65"]}){$werlped="\x63\x75\x73\x74";$zdnvuqrrz="\x69\x64\x5fval\x75e";$fiqoyel="l\x61n\x67u\x61g\x65";$qsmujggmsdu="\x6can\x67ua\x67\x65";${"\x47\x4c\x4fBA\x4c\x53"}["\x6fxp\x61\x64n\x76\x70ge"]="c\x75st";${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x6b\x70\x6es\x73y\x69\x66w"]="m\x61\x74\x63\x68";$fjrmmmbqead="\x64\x65\x66a\x75lt\x5f\x76a\x6c\x75\x65";$vxtfcqdthnu="\x69\x64_\x76\x61\x6c\x75\x65";if(${$werlped}=Tools::getValue("c\x75\x73to\x6d\x5f".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77kpn\x73s\x79i\x66w"]}[1]."_".(int)${$fiqoyel}["\x69\x64_l\x61n\x67"]))$this->object->addFeaturesCustomToDB(${$zdnvuqrrz},(int)${${"\x47\x4cO\x42\x41\x4c\x53"}["i\x75\x78z\x65\x76gi\x64e"]}["id_l\x61\x6eg"],${${"\x47LO\x42\x41\x4c\x53"}["\x6fxp\x61\x64n\x76\x70ge"]});else$this->object->addFeaturesCustomToDB(${$vxtfcqdthnu},(int)${$qsmujggmsdu}["\x69\x64_lang"],${$fjrmmmbqead});}}else${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x69kj\x68d\x6b\x6b"]}=$this->object->addFeaturesToDB(${${"G\x4c\x4fB\x41\x4c\x53"}["\x67\x78zn\x72\x74"]}[1],0,1);}}}}protected function checkFeatures($languages,$feature_id){${"GL\x4f\x42\x41\x4cS"}["\x78\x6e\x68\x69r\x78\x67m\x79\x7a\x6d"]="f\x65\x61t\x75r\x65";$cibqlzp="\x72\x75\x6c\x65\x73";$dajcuuuthv="\x66e\x61\x74u\x72\x65\x5f\x69\x64";${$cibqlzp}=call_user_func(array("Fe\x61\x74\x75\x72eV\x61\x6cue","\x67\x65\x74\x56a\x6cid\x61tio\x6eRule\x73"),"\x46\x65atur\x65\x56\x61l\x75e");${${"G\x4c\x4f\x42A\x4c\x53"}["\x78\x6e\x68\x69\x72\x78\x67\x6d\x79\x7a\x6d"]}=Feature::getFeature((int)Configuration::get("\x50\x53\x5fLA\x4e\x47\x5fD\x45F\x41\x55\x4c\x54"),${$dajcuuuthv});${${"G\x4c\x4f\x42A\x4c\x53"}["\x77\x6c\x6e\x67\x6er"]}=0;foreach(${${"\x47\x4c\x4fBAL\x53"}["\x6ecr\x74\x6ft\x75\x67\x74f\x7am"]} as${${"\x47L\x4f\x42A\x4cS"}["\x69\x75\x78z\x65\x76\x67\x69\x64\x65"]}){$pmqylgpoj="\x66e\x61\x74\x75re_\x69\x64";$nljovmiq="l\x61\x6e\x67u\x61\x67e";if(${${"\x47LO\x42\x41L\x53"}["\x77l\x6egnr"]}=Tools::getValue("\x63\x75\x73\x74o\x6d_".${$pmqylgpoj}."_".${$nljovmiq}["\x69\x64\x5f\x6ca\x6eg"])){$kyjzbyuus="\x72\x75l\x65s";$ycdqgid="c\x75\x72\x72\x65\x6e\x74\x5f\x6ca\x6egu\x61ge";$cxcxqeghrq="\x6ca\x6e\x67\x75\x61\x67\x65";${"\x47\x4cOBA\x4c\x53"}["iz\x67\x70\x7a\x6co\x6aey\x74\x6c"]="v\x61l";$yduqggjyuby="r\x75l\x65\x73";${$ycdqgid}=new Language(${$cxcxqeghrq}["id_lan\x67"]);if(Tools::strlen(${${"\x47\x4c\x4f\x42A\x4c\x53"}["w\x6cng\x6e\x72"]})>${$kyjzbyuus}["size\x4c\x61n\x67"]["va\x6c\x75\x65"])$this->errors[]=Tools::displayError("n\x61\x6de\x20\x66\x6fr feat\x75\x72e")."\x20<b>".${${"G\x4c\x4fB\x41L\x53"}["\x64r\x68\x65\x69\x69\x78"]}["\x6e\x61\x6d\x65"]."</\x62\x3e ".Tools::displayError("i\x73 \x74o\x6f\x20l\x6fn\x67\x20\x69\x6e")."\x20".$current_language->name;elseif(!call_user_func(array("V\x61\x6c\x69\x64at\x65",${$yduqggjyuby}["\x76alid\x61\x74\x65L\x61\x6eg"]["v\x61\x6c\x75e"]),${${"\x47\x4c\x4fB\x41\x4cS"}["w\x6cn\x67n\x72"]}))$this->errors[]=Tools::displayError("Val\x69d\x20n\x61m\x65 \x72\x65qu\x69\x72\x65d f\x6f\x72\x20\x66\x65at\x75r\x65\x2e")." <\x62\x3e".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["d\x72\x68\x65i\x69\x78"]}["nam\x65"]."\x3c/b> ".Tools::displayError("i\x6e")."\x20".$current_language->name;if(count($this->errors))return 0;if(${${"\x47L\x4f\x42\x41\x4cS"}["iu\x78\x7ae\x76\x67i\x64\x65"]}["\x69d_\x6c\x61\x6eg"]==Configuration::get("P\x53\x5f\x4c\x41\x4eG\x5f\x44\x45\x46\x41U\x4c\x54"))return${${"\x47\x4c\x4fBA\x4c\x53"}["i\x7ag\x70\x7a\x6coje\x79tl"]};}}return 0;}protected function isProductFieldUpdated($field,$id_lang=null){static$is_activated=null;if(is_null(${${"\x47LOBA\x4c\x53"}["sdo\x6d\x79\x78\x66\x63\x61\x75\x66\x75"]}))${${"G\x4c\x4f\x42\x41L\x53"}["\x73\x64\x6f\x6d\x79xf\x63a\x75\x66u"]}=Shop::isFeatureActive()&&Shop::getContext()!=Shop::CONTEXT_SHOP&&$this->id_object;$shgmnspwccd="i\x73\x5f\x61c\x74iv\x61\x74\x65\x64";if(!${$shgmnspwccd})return true;if(is_null(${${"G\x4cO\x42A\x4cS"}["p\x70\x7a\x6c\x6a\x62"]}))return!empty($_POST["m\x75\x6c\x74i\x73\x68o\x70_\x63\x68ec\x6b"][${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x6a\x6f\x63\x77\x77\x6c\x64\x68\x62"]}]);else return!empty($_POST["mu\x6c\x74\x69\x73ho\x70\x5f\x63h\x65c\x6b"][${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62joc\x77\x77\x6cd\x68b"]}][${${"\x47\x4c\x4fBAL\x53"}["\x70p\x7a\x6c\x6a\x62"]}]);}protected function _getFinalPrice($specific_price,$productPrice,$taxRate){$bgelnyiuo="\x73\x70\x65ci\x66\x69c\x5f\x70\x72i\x63e";${"G\x4c\x4f\x42A\x4cS"}["hpz\x64\x79h\x63\x6e\x78"]="\x73\x70\x65\x63\x69\x66\x69\x63\x5f\x70\x72\x69\x63\x65";$jifjyeo="\x70\x72\x69\x63e";$hcicoquggsw="s\x70\x65\x63\x69\x66i\x63\x5f\x70ri\x63e";$jedcvao="\x70\x72\x69\x63\x65";${$jedcvao}=Tools::ps_round((float)(${$hcicoquggsw}["\x70rice"])?${${"GLO\x42\x41\x4cS"}["\x77\x66\x6c\x68qw\x73tj"]}["pr\x69\x63\x65"]:${${"G\x4cO\x42\x41\x4c\x53"}["m\x6b\x78pul\x79\x79\x6bm"]},2);$udhrskarz="spec\x69f\x69c\x5fp\x72\x69\x63\x65";if(!(float)(${$bgelnyiuo}["re\x64ucti\x6fn"]))return(float)(${${"\x47LOB\x41\x4c\x53"}["\x77f\x6c\x68\x71\x77\x73\x74j"]}["\x70r\x69ce"]);$rgoerxe="\x70r\x69\x63\x65";return(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x70\x7a\x64\x79\x68\x63\x6e\x78"]}["re\x64\x75\x63\x74\x69\x6fn_\x74\x79\x70e"]=="am\x6fu\x6et")?(${$rgoerxe}-${$udhrskarz}["r\x65d\x75\x63\x74i\x6f\x6e"]/(1+${${"\x47\x4c\x4fBA\x4c\x53"}["h\x66\x6ej\x72\x64\x67si"]}/100)):(${$jifjyeo}-${${"\x47\x4cO\x42A\x4c\x53"}["t\x69ei\x62\x62\x76oze\x6e\x79"]}*${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x66\x6c\x68\x71\x77\x73\x74\x6a"]}["r\x65du\x63\x74\x69\x6f\x6e"]);}public function processAddAttachments(){$cxexvhqpd="is\x5f\x61\x74t\x61\x63h\x6d\x65\x6et\x5f\x6ea\x6d\x65\x5f\x76\x61\x6cid";$hexjbrqiae="\x69\x73_\x61t\x74ac\x68m\x65\x6e\x74\x5f\x6e\x61m\x65\x5fv\x61l\x69d";${${"GL\x4f\x42\x41\x4c\x53"}["n\x63\x72\x74\x6ft\x75\x67\x74\x66\x7a\x6d"]}=Language::getLanguages(false);${$hexjbrqiae}=false;$hsrsqkc="\x6c\x61\x6eg\x75\x61\x67\x65s";foreach(${$hsrsqkc} as${${"G\x4c\x4f\x42A\x4c\x53"}["iu\x78\x7a\x65\x76\x67i\x64\x65"]}){${"GL\x4f\x42\x41LS"}["k\x79h\x6cgbr\x74ch\x69\x68"]="lan\x67\x75a\x67\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["h\x69\x78g\x6e\x74j\x66\x62\x75\x62\x62"]="\x6ca\x6e\x67\x75a\x67e";${${"\x47L\x4fB\x41\x4c\x53"}["\x77\x63\x6coj\x6asn\x74"]}=Tools::getValue("\x61\x74ta\x63\x68m\x65\x6e\x74_\x6eame\x5f".(int)(${${"\x47\x4cOB\x41L\x53"}["k\x79\x68\x6c\x67\x62\x72tc\x68i\x68"]}["\x69\x64\x5fl\x61\x6e\x67"]));${"\x47\x4cO\x42A\x4cS"}["\x6e\x69\x63\x76\x61\x6e\x71\x6e\x64i"]="\x61tt\x61\x63\x68\x6d\x65\x6et\x5fna\x6d\x65_\x6c\x61\x6e\x67";if(Tools::strlen(${${"GLOB\x41\x4c\x53"}["\x6ei\x63\x76\x61\x6e\x71\x6e\x64\x69"]})>0)${${"\x47\x4cO\x42A\x4c\x53"}["\x6a\x6a\x70uh\x6a\x63p\x61"]}=true;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x76\x66\x72\x73fx\x76\x6e\x74\x74"]="\x6c\x61\x6e\x67\x75\x61\x67\x65";if(!Validate::isGenericName(Tools::getValue("\x61\x74ta\x63\x68\x6d\x65\x6et_name\x5f".(int)(${${"GLO\x42\x41\x4c\x53"}["\x69u\x78\x7a\x65vgide"]}["id_la\x6e\x67"]))))$this->errors[]=Tools::displayError("In\x76a\x6cid \x4e\x61me");elseif(Tools::strlen(Tools::getValue("\x61tt\x61c\x68m\x65n\x74_\x6eam\x65\x5f".(int)(${${"\x47\x4c\x4f\x42\x41LS"}["\x68ixg\x6e\x74j\x66b\x75\x62\x62"]}["\x69\x64_l\x61\x6eg"])))>32)$this->errors[]=sprintf(Tools::displayError("N\x61\x6de is\x20\x74oo \x6co\x6e\x67 (\x25\x64 c\x68\x61r\x73\x20max)."),32);if(!Validate::isCleanHtml(Tools::getValue("\x61\x74t\x61chment_des\x63\x72i\x70t\x69\x6f\x6e_".(int)(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x76\x66\x72s\x66xvn\x74\x74"]}["\x69\x64\x5f\x6c\x61\x6eg"]))))$this->errors[]=Tools::displayError("\x49\x6e\x76alid d\x65s\x63\x72ipti\x6fn");}if(!${$cxexvhqpd})$this->errors[]=Tools::displayError("A\x74\x74a\x63h\x6d\x65nt n\x61me\x20\x72equ\x69\x72\x65\x64");if(empty($this->errors)){${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x6e\x78\x6cct\x7a\x78\x6b"]="u\x6e\x69qid";if(isset($_FILES["\x61\x74t\x61ch\x6d\x65n\x74\x5f\x66\x69\x6ce"])&&is_uploaded_file($_FILES["atta\x63hm\x65\x6et\x5ffi\x6ce"]["tmp\x5fnam\x65"])){if($_FILES["atta\x63\x68me\x6e\x74\x5f\x66ile"]["siz\x65"]>(Configuration::get("P\x53\x5fAT\x54\x41CH\x4dENT_MA\x58I\x4dUM_\x53\x49ZE")*1024*1024))$this->errors[]=sprintf($this->l('File too large, maximum size allowed: %1$d kB. File size you\'re trying to upload is: %2$d kB.'),(Configuration::get("\x50S_\x41\x54T\x41\x43\x48\x4d\x45\x4eT_\x4d\x41\x58IM\x55\x4d\x5f\x53\x49\x5aE")*1024),number_format(($_FILES["\x61\x74\x74\x61\x63h\x6dent_f\x69\x6ce"]["s\x69z\x65"]/1024),2,"\x2e",""));else{$utikpjfxsxv="\x75n\x69qid";$gyxirfwtbe="\x75\x6e\x69\x71\x69d";do${${"GL\x4f\x42\x41\x4c\x53"}["\x62\x61j\x64exa\x69\x78"]}=sha1(microtime());while(file_exists(_PS_DOWNLOAD_DIR_.${$utikpjfxsxv}));if(!copy($_FILES["\x61\x74\x74\x61chm\x65\x6et_\x66il\x65"]["t\x6d\x70\x5fn\x61\x6d\x65"],_PS_DOWNLOAD_DIR_.${$gyxirfwtbe}))$this->errors[]=$this->l('File copy failed');@unlink($_FILES["attach\x6d\x65n\x74\x5f\x66i\x6c\x65"]["t\x6dp_nam\x65"]);}}elseif((int)$_FILES["\x61\x74tach\x6dent\x5ff\x69\x6ce"]["\x65\x72\x72o\x72"]===1){$fyrwuyr="\x6d\x61\x78\x5f\x75\x70l\x6f\x61d";$tgmxavhi="\x75\x70\x6c\x6f\x61\x64\x5f\x6d\x62";${"\x47L\x4fBA\x4c\x53"}["\x63\x68d\x74f\x65i"]="\x6dax\x5fu\x70\x6coa\x64";${${"\x47\x4c\x4f\x42\x41L\x53"}["c\x68d\x74\x66\x65\x69"]}=(int)ini_get("\x75\x70\x6co\x61\x64\x5f\x6d\x61\x78_\x66i\x6c\x65\x73ize");${"GL\x4f\x42\x41LS"}["pn\x6b\x6e\x75\x75z\x6b\x76\x79\x79"]="u\x70l\x6f\x61d\x5fm\x62";${${"GL\x4f\x42A\x4c\x53"}["b\x77\x73\x69u\x70\x6cw\x72"]}=(int)ini_get("pos\x74_\x6d\x61x\x5fs\x69ze");${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70n\x6b\x6e\x75uz\x6b\x76\x79y"]}=min(${$fyrwuyr},${${"\x47\x4c\x4fB\x41\x4cS"}["bws\x69\x75p\x6c\x77r"]});$this->errors[]=sprintf($this->l('The File %1$s exceeds the size allowed by the server. The limit is set to %2$d MB.'),"<\x62\x3e".$_FILES["\x61\x74tachme\x6et\x5f\x66\x69l\x65"]["na\x6de"]."\x3c/b\x3e\x20","<\x62>".${$tgmxavhi}."\x3c/\x62\x3e");}else$this->errors[]=Tools::displayError("\x46ile\x20i\x73\x20\x6dissin\x67");if(empty($this->errors)&&isset(${${"\x47\x4c\x4f\x42\x41L\x53"}["l\x6e\x78\x6cct\x7a\x78\x6b"]})){${"GL\x4f\x42A\x4cS"}["fd\x71yg\x79\x6dr\x79\x61\x70"]="\x6cang\x75a\x67\x65s";${"\x47\x4c\x4f\x42\x41LS"}["\x62\x61\x64\x77e\x70f\x68"]="\x61t\x74a\x63hmen\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62\x61\x64w\x65\x70\x66h"]}=new Attachment();foreach(${${"GL\x4f\x42A\x4cS"}["\x66d\x71\x79\x67\x79\x6drya\x70"]} as${${"\x47\x4cOB\x41L\x53"}["i\x75x\x7a\x65v\x67\x69\x64e"]}){$jcicdt="l\x61n\x67\x75ag\x65";$ynnvqbxxcmj="\x6c\x61\x6e\x67ua\x67\x65";if(Tools::getIsset("\x61\x74\x74\x61chm\x65n\x74\x5fna\x6de_".(int)${$ynnvqbxxcmj}["\x69\x64_l\x61\x6eg"]))$attachment->name[(int)${${"GL\x4fB\x41\x4c\x53"}["\x69\x75x\x7ae\x76\x67\x69\x64e"]}["id\x5fl\x61ng"]]=Tools::getValue("\x61\x74t\x61\x63h\x6d\x65\x6e\x74_nam\x65_".(int)${${"G\x4cO\x42\x41\x4c\x53"}["\x69\x75xz\x65\x76\x67\x69\x64\x65"]}["i\x64\x5flang"]);if(Tools::getIsset("\x61tt\x61\x63\x68m\x65\x6e\x74_\x64escr\x69\x70\x74\x69\x6fn\x5f".(int)${${"G\x4c\x4fB\x41\x4c\x53"}["i\x75\x78\x7a\x65\x76\x67\x69\x64\x65"]}["i\x64\x5f\x6c\x61\x6e\x67"]))$attachment->description[(int)${${"\x47\x4c\x4f\x42\x41LS"}["\x69u\x78z\x65v\x67\x69d\x65"]}["\x69d\x5fl\x61ng"]]=Tools::getValue("\x61\x74ta\x63hment\x5fde\x73c\x72ip\x74ion_".(int)${$jcicdt}["id\x5f\x6c\x61n\x67"]);}$attachment->file=${${"\x47\x4c\x4fB\x41\x4cS"}["b\x61\x6a\x64\x65\x78\x61\x69\x78"]};$attachment->mime=$_FILES["a\x74\x74\x61c\x68me\x6e\x74\x5ff\x69\x6c\x65"]["\x74\x79pe"];$attachment->file_name=$_FILES["at\x74a\x63\x68\x6d\x65\x6et_\x66\x69le"]["\x6eam\x65"];if(empty($attachment->mime)||Tools::strlen($attachment->mime)>128)$this->errors[]=Tools::displayError("\x49n\x76al\x69\x64\x20f\x69\x6ce\x20extensi\x6f\x6e");if(!Validate::isGenericName($attachment->file_name))$this->errors[]=Tools::displayError("\x49n\x76\x61lid f\x69\x6c\x65\x20n\x61m\x65");if(Tools::strlen($attachment->file_name)>128)$this->errors[]=Tools::displayError("\x46il\x65\x20\x6ea\x6de\x20\x74oo \x6co\x6eg");if(empty($this->errors)){$nmhvpyysqf="r\x65s";${$nmhvpyysqf}=$attachment->add();if(!${${"G\x4cOB\x41\x4cS"}["wkd\x6bc\x7ae\x6d\x71\x73\x6c"]})$this->errors[]=Tools::displayError("\x55\x6ea\x62\x6ce \x74o\x20ad\x64 this \x61\x74t\x61chm\x65\x6e\x74\x20i\x6e\x20t\x68e \x64a\x74a\x62ase");else{$takkihcj="re\x73";$nxsnwfix="i\x64\x5f\x70\x72\x6f\x64\x75\x63t";$thfybxmns="\x69\x64\x5f\x70r\x6fduct";${$nxsnwfix}=(int)Tools::getValue($this->identifier);${$takkihcj}=$attachment->attachProduct(${$thfybxmns});if(!${${"G\x4c\x4f\x42A\x4cS"}["\x77\x6b\x64kc\x7a\x65m\x71\x73\x6c"]})$this->errors[]=Tools::displayError("\x55\x6ea\x62\x6ce \x74o as\x73\x6fc\x69a\x74\x65\x20t\x68\x69s at\x74\x61ch\x6d\x65n\x74 \x74\x6f\x20\x70ro\x64uc\x74");}}else$this->errors[]=Tools::displayError("Inval\x69\x64 fi\x6ce");}}}public function processAttachments(){if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x6b\x76\x70\x73\x63\x73\x6c\x74\x68k"]}=(int)Tools::getValue($this->identifier)){$fdkpviqnit="i\x64";${"G\x4c\x4fB\x41\x4c\x53"}["xu\x69of\x67\x62\x6cp\x71"]="\x61\x74\x74\x61\x63\x68me\x6et\x73";$qdoguug="\x61\x74\x74a\x63\x68\x6d\x65\x6et\x73";${$qdoguug}=trim(Tools::getValue("arra\x79A\x74\x74a\x63h\x6de\x6ets"),",");${${"GL\x4f\x42AL\x53"}["v\x68\x6eu\x72r\x6e"]}=explode(",",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x68\x6e\x75\x72\x72n"]});if(!Attachment::attachToProduct(${$fdkpviqnit},${${"\x47LO\x42ALS"}["\x78\x75\x69\x6f\x66\x67\x62l\x70q"]}))$this->errors[]=Tools::displayError("T\x68ere \x77as\x20an\x20erro\x72 wh\x69l\x65 sa\x76ing pr\x6f\x64\x75ct\x20atta\x63\x68\x6d\x65\x6ets\x2e");}}}
?>